dotfiles

Configuration for the software I use.
git clone https://git.jaderune.net/jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commentary.txt (1300B)


      1 *commentary.txt*  Comment stuff out
      2 
      3 Author:  Tim Pope <http://tpo.pe/>
      4 License: Same terms as Vim itself (see |license|)
      5 
      6 Comment stuff out.  Then uncomment it later.  Relies on 'commentstring' to be
      7 correctly set, or uses b:commentary_format if it is set.
      8 
      9 Assign b:commentary_startofline to insert comment characters at column 1
     10 regardless of indentation.
     11 
     12                                                 *gc*
     13 gc{motion}              Comment or uncomment lines that {motion} moves over.
     14 
     15                                                 *gcc*
     16 gcc                     Comment or uncomment [count] lines.
     17 
     18                                                 *v_gc*
     19 {Visual}gc              Comment or uncomment the highlighted lines.
     20 
     21                                                 *o_gc*
     22 gc                      Text object for a comment (operator pending mode
     23                         only.)
     24 
     25                                                 *gcgc* *gcu*
     26 gcgc                    Uncomment the current and adjacent commented lines.
     27 gcu
     28 
     29                                                 *:Commentary*
     30 :[range]Commentary      Comment or uncomment [range] lines
     31 
     32 The |User| CommentaryPost autocommand fires after a successful operation and
     33 can be used for advanced customization.
     34 
     35  vim:tw=78:et:ft=help:norl: