On Tuesday, March 24, 2015 at 10:43:12 PM UTC+8, Brook Hong wrote:
> In vim when you visual select a word(by `viw` or `ve`), then press Esc, 
> cursor sits at end of the word.
> In gVim when you visual select a word(by `viw` or `ve`), then press Esc, 
> cursor sits at a char next to the end of the word.
> 
> I found this problem when trying to fix a bug of a plugin named 
> vim-multiple-cursors.
> 
> https://github.com/terryma/vim-multiple-cursors/issues/124
> 
> Anyone knows how to eliminate the difference?

Too quick to post the question.

I found `selection` setting, which makes the difference, from source code.

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