/vis-commentary

Vis plugin for easy block commenting

Primary LanguageLuaMIT LicenseMIT

vis-commentary

vis-commentary aims to port Tim Pope's vim-commentary to 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 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.