aligning text to a certain column

2006-12-05 Thread Lev Lvovsky
how can I align text under and after the cursor position to a specific column number? and probably just as important, how can I find out which column number a cursor is at ;)? thanks! -lev

Re: aligning text to a certain column

2006-12-05 Thread Jean-Rene David
* Lev Lvovsky [2006.12.05 13:53]: how can I align text under and after the cursor position to a specific column number? :.,$s/^\s*/ /g will align the first non-blank on the fourth column, from the cursor's line to the end of the file. and probably just as important, how can I find

Re: aligning text to a certain column

2006-12-05 Thread Gary Johnson
On 2006-12-05, Lev Lvovsky [EMAIL PROTECTED] wrote: how can I align text under and after the cursor position to a specific column number? and probably just as important, how can I find out which column number a cursor is at ;)? :set ruler will show you the cursor's line and column

Re: aligning text to a certain column

2006-12-05 Thread A.J.Mechelynck
Jean-Rene David wrote: * Lev Lvovsky [2006.12.05 13:53]: how can I align text under and after the cursor position to a specific column number? :.,$s/^\s*/ /g will align the first non-blank on the fourth column, from the cursor's line to the end of the file. and probably just as