in reply to Multi-line comments in perl code?
after your initial # comment goes here - each time you hit a newline, a # will be placed at the beginning... or/and to .vimrcset formatoptions=r
I believe I got that last one from a thread here..." comment out blocks " ma to mark beginning " put cursor at the end and hit F7 " code will be commented out map <F7> :'a,.s/^/#/gi^M:nohl^M map <F10> :'a,.s/^#//gi^M:nohl^M
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Multi-line comments in perl code?
by TheDamian (Vicar) on Jul 14, 2006 at 14:00 UTC |