Mercurial > hg > dml-home
annotate .vim/bundle/vim-commentary/doc/commentary.txt @ 100:a4cd935561d4 dml-dockerised tip
small updates and version pin for cliopatria
author | wolffd <wolffd.mail@googlemail.com> |
---|---|
date | Fri, 29 Jun 2018 17:48:41 +0100 |
parents | 19d1235ce229 |
children |
rev | line source |
---|---|
samer@3 | 1 *commentary.txt* Comment stuff out |
samer@3 | 2 |
samer@3 | 3 Author: Tim Pope <http://tpo.pe/> |
samer@3 | 4 License: Same terms as Vim itself (see |license|) |
samer@3 | 5 |
samer@3 | 6 Comment stuff out. Then uncomment it later. Relies on 'commentstring' to be |
samer@3 | 7 correctly set, or uses b:commentary_format if it is set. |
samer@3 | 8 |
samer@3 | 9 The gc mappings are preferred, while the \\ mappings are provided for |
samer@3 | 10 backwards compatibility. |
samer@3 | 11 |
samer@3 | 12 *gc* |
samer@3 | 13 gc{motion} Comment or uncomment lines that {motion} moves over. |
samer@3 | 14 |
samer@3 | 15 *gcc* |
samer@3 | 16 gcc Comment or uncomment [count] lines. |
samer@3 | 17 |
samer@3 | 18 *v_gc* |
samer@3 | 19 {Visual}gc Comment or uncomment the highlighted lines. |
samer@3 | 20 |
samer@3 | 21 *o_gc* |
samer@3 | 22 gc Text object for a comment (operator pending mode |
samer@3 | 23 only.) |
samer@3 | 24 |
samer@3 | 25 *gcgc* *gcu* |
samer@3 | 26 gcgc Uncomment the current and adjacent commented lines. |
samer@3 | 27 gcu |
samer@3 | 28 |
samer@3 | 29 *:Commentary* |
samer@3 | 30 :[range]Commentary Comment or uncomment [range] lines |
samer@3 | 31 |
samer@3 | 32 The |User| CommentaryPost autocommand fires after a successful operation and |
samer@3 | 33 can be used for advanced customization. |
samer@3 | 34 |
samer@3 | 35 vim:tw=78:et:ft=help:norl: |