I notice that the cursor behaviour depends on the 'list' setting. With
'list' on (and something for "tab:" in 'listchars', I use "tab:|_"
i.e. ":set lcs=eol:¶,tab:\|_,extends:>,precedes:<,conceal:*,nbsp:·"
after setting 'encoding' to utf-8 if it doesn't yet start with u or U)
when the cursor is on a hard tab it is seen on the first screen cell
of the tab. When 'list' is off, the cursor is on the last screen cell
of the tab.

I confirm Yegappan's findings in gvim 8.1.600 with GTK2 on Linux, even
in GUI mode (unlike what our Japanese friend saw on GTK2 on Mac, and
BTW with the custom of placing the family name before the given name
when speaking Japanese but not always when speaking English I'm losing
track of which is which), and regardless of the 'list' setting. In
addition, when 'list' is off, hitting lh at the end moves the cursor
to the end of the tab. The o is not necessary: just make sure that the
cursor is on the space then hit vh<Esc> and the cursor is displayed in
column 1 (first screen cell of the tab). Then l moves it to the space
(column 9) and h moves it to the last screen cell of the tab (column
8).

My previous test was with 'list' on, in which case the cursor on the
first cell of the tab was normal. But with 'list' off the cursor is
still on the first cell of the tab after leaving Visual mode, which is
unexpected.

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