vis-commentary aims to port Tim Pope's vim-commentary to vis.
Clone the repo to your vis plugins directory (~/.config/vis/plugins) and add this to your visrc.lua:
require("plugins/vis-commentary")
| Keybind | Description |
|---|---|
gcc |
Toggle comment of the current line in NORMAL mode. |
gc |
Toggle comment on the target of a motion (for example: gj to comment this and next line) |
Should you find bugs or unsupported languages, please report them.