Hello list

The "|" command behaves strangely when used with ":normal", 'virtualedit'
set to "all", and tab characters present. This is in Vim 7.3. Demo:

Some test text (2 lines):

        <-- a tab char
hello   more text

Set 'virtualedit' to "all". Press the following keys in normal mode to see
expected behaviour (cursor is on the first line).

6|^Vj8|

A Visual block (the whitespace between the two text columns) is selected.

Now do the same from the command line:

:normal 6|^Vj8|

The "6|" part is ignored and instead the current cursor column is used as the
starting point for the Visual selection. This means that the result is
different from the one in "real" normal mode, and is effectively dependent on
the cursor position.

I apologize if this has been brought up before or is invalid. Is this a bug and
has it been resolved?

Thank you!

-- 
You received this message from the "vim_dev" 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

Reply via email to