Tip: #900 - Insert comment boxes in your code
Created: March 22, 2005 9:18 Complexity: intermediate Author: Ken Holm Version: 5.7 Karma: 5/12 Imported from: Tip#900
Put this in your .vimrc file and you can have nicely aligned comment boxes
map ,co O#====================================================================================================<CR>#<CR>#====================================================================================================<ESC>100\
Comments
For what it is worth this should have the same end result I believe:
map ,co O#<ESC>100A=<ESC>100\|D<CR>i#<CR><ESC>i##<ESC>100a=<ESC>100\|D<ESC>kA
<sreny--AT--srenyqernzf.pbz> (Rot13ed)
, March 23, 2005 11:30
What's a comment box?
Ragini , March 26, 2005 9:08
A boxed comment.
Anonymous , March 27, 2005 9:35