Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lutobler/vis-commentary

Vis plugin for easy block commenting
https://github.com/lutobler/vis-commentary

plugin text-editor vis

Last synced: about 2 months ago
JSON representation

Vis plugin for easy block commenting

Awesome Lists containing this project

README

        

## 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.