summaryrefslogtreecommitdiff
path: root/vis/plugins/vis-commentary/README.md
blob: 6f2e8e1ab6b4b6427aedeecb20df3ee39263212a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## vis-commentary

`vis-commentary` aims to port Tim Pope's [vim-commentary](https://github.com/tpope/vim-commentary) to [vis](https://github.com/martanne/vis).

### Installation
Clone the repo to your vis plugins directory (`~/.config/vis/plugins`) and add this to your `visrc.lua`:
```
require("plugins/vis-commentary")
```

### Usage

| Keybind | Description |
|---------|-------------|
| `gcc`   | Toggle comment of the current line in NORMAL mode.|
| `gc`    | Toggle comment of the current selection in VISUAL mode. |

Should you find bugs or unsupported languages, please report them.