Saturday, November 6, 2010

Re: removing spaces from start of visual block

Andy,

I checked your regex but strange things happens when the column is the
one most at the right side.

I use this one at the moment:
:'<,'>s/\%V\(\s*\)\(\S.*\)\%V/\2\1/<CR>:let @/ = ""<CR>
(I added clear search input to avoid seeing the search syntax
coloring)

This one works very well.
I try to make my visual block always 1 space wider than the column
width.
I changes virtualedit to all.
I don't have errors any more.

Rameo

--
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

No comments: