On Sun, Dec 16, 2018 at 1:59 AM Yegappan Lakshmanan <[email protected]> wrote:
>
> Hi all,
>
> I am seeing that the cursor is displayed at an incorrect column
> if I do the following (using the latest version of Vim on Mac):
>
> 1. Add an empty line to a buffer with a tab character followed by
>     a space at the beginning of the line.
--- I assume you mean a new line, not an empty line (a tab and a space
are not "empty").
> 2. Move the cursor to the end of this line.
> 3. Press v to start visual mode
> 4. Press o to jump to the other end of the visual selection
--- the cursor doesn't move, since only the space is visually selected
> 5. Extend the visual selection to the beginning of the line by pressing h
--- the cursor moves to the tab, i.e. to the beginning of the line.
Since in my Vim, 'selection' is set to "inclusive", both the tab and
the space are visually selected.
> 6. Press escape to cancel the visual selection
--- the cursor remains at the beginning of the line.
>
> After this the cursor is positioned at the beginning of the line (it should
> be positioned after the tab at column 8).
Why do you think that pressing <Esc> should move the cursor? IMHO the
cursor is and should be at the beginning of the line.
>
> Anyone else able to reproduce this?
Yes, I can, but I don't regard it as faulty, see above.
>
> - Yegappan

Best regards,
Tony.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui