in reply to Slightly Off Topic: vim/perl comment behavior
When typing '#' as the first character in a new line, the indent for that line is removed, the '#' is put in the first column. The indent is restored for the next line. If you don't want this, use this mapping: ":inoremap # X^H#", where ^H is entered with CTRL-V CTRL-H.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Slightly Off Topic: vim/perl comment behavior
by saberworks (Curate) on Aug 23, 2005 at 17:43 UTC | |
by itub (Priest) on Aug 23, 2005 at 18:27 UTC | |
by vasundhar (Acolyte) on Aug 24, 2005 at 10:32 UTC | |
|
Re^2: Slightly Off Topic: vim/perl comment behavior
by xdg (Monsignor) on Aug 25, 2005 at 19:04 UTC |