Jens Paulus wrote:
> alright try it again and do not use the 0 command, this was misleading.
> Do the following thing.
> Put the cursor on one of the example lines above. Then do zfip<C-V> and
> you should see what the problem is. There should be no need to do more.
> But do not use gvim but use vim because maybe this makes a difference.
I'm starting to understand what you mean. When you start Visual mode
(of any type) in a closed fold Vim will include all lines of the fold.
For "v" it will include all the text, for CTRL-V it will include a
rectangle with its corners at the first and last character in the fold.
This is different from what happens outside of a closed fold. Just like
other commands work differently in a closed fold: They include all lines
of the fold.
You might argue that for CTRL-V only a single column of text should be
selected. That is possible, but only when always selecting the first
column. That is because it depends on the length of the first and last
line in the fold (they might be empty). And when the first character is
a TAB you select more than one column anyway.
I think for practical use it doesn't matter much if only the first
column is selected or the rectangle as it is now. Neither is perfect.
hundred-and-one symptoms of being an internet addict:
178. You look for an icon to double-click to open your bedroom window.
/// Bram Moolenaar -- Bram@...
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/
\\\ Project leader for A-A-P -- http://www.A-A-P.org
\\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html