On Feb 27, 2007, at 6:57 AM, Charles E Campbell Jr wrote:
Lev Lvovsky wrote:
I'm sure there's a fancy word for this, but is there any way to
pull text to the right?
suppose I have the following:
COL1 INT,
COL2 INT,
COL3 INT,
I'd like to get "COL3" aligned to "COL1" and "COL2", but to do
that, I need to put the cursor behind "COL3", hit space several
times, and then align "INT" with the other "INTs". Can I put my
cursor to the right of "COL3", and pull it over to "INT" on the
right?
It sounds like you're interested in aligning text. For that may I
suggest looking into Align.vim (and AlignMaps.vim, which come
together).
To do the alignment, assuming that you're using spaces as delimiters:
All's I have to say in RE to Align.vim is:
"Wow".
thanks Charles!
-lev