* Tony Mechelynck <antoine.mechelynck@gmail.com> [120916 11:02]:
>
> When you type : in Visual mode, you should see
>
> :'<,'>
>
> where '< means "the first visually selected line" and '> means "the last
> visually selected line". Don't erase these marks as you type :retab in
> Visual mode. Or you could do without Visual mode, as follows:
>
> :set expandtab
> 5:retab
Elegant!
> (that second line will be expanded to :.,.+4retab and it should expand
> tabs to spaces in the current line and the 4 following ones). Or
>
> :set noexpandtab
> 5:retab!
Again ...
> to convert spaces to tabs instead.
>
> See
> :help v_:
> :help N:
thanks
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Sunday, September 16, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment