This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/evil-commentary/README.md

23 lines
703 B
Markdown
Raw Normal View History

2015-03-16 07:27:43 +00:00
# Evil-commentary contribution layer for Spacemacs
## Description
This layer is a replaces evil-nerd-commenter with evil-commentary,
for those who desire behaviour like `vim-commentary`'s.
> Use <kbd>gcc</kbd> to comment out a line (takes a count),
> <kbd>gc</kbd> to comment out the target of a motion (for example,
> <kbd>gcap</kbd> to comment out a paragraph), <kbd>gc</kbd> in visual
> mode to comment out the selection.
For more details see the [evil-commentary][] repository.
## Install
To use this contribution add it to your `~/.spacemacs`.
```elisp
(setq-default dotspacemacs-configuration-layers '(evil-commentary))
```
[evil-commentary]: https://github.com/linktohack/evil-commentary