Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lutobler/vis-commentary
- Owner: lutobler
- License: mit
- Created: 2017-09-09T12:31:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-31T21:39:33.000Z (6 months ago)
- Last Synced: 2024-06-09T21:43:30.582Z (4 months ago)
- Topics: plugin, text-editor, vis
- Language: Lua
- Homepage:
- Size: 28.3 KB
- Stars: 16
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.