mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:9.1.1175: inconsistent behaviour with exclusive selection and motion commands (#32745)
Problem: inconsistent behaviour with exclusive selection and motion
commands (aidancz)
Solution: adjust cursor position when selection is exclusive
(Jim Zhou)
fixes: vim/vim#16278
closes: vim/vim#16784
c8cce711dd
Co-authored-by: Jim Zhou <jimzhouzzy@gmail.com>
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
@@ -464,6 +464,8 @@ EXTERN bool VIsual_active INIT( = false);
|
||||
EXTERN bool VIsual_select INIT( = false);
|
||||
/// Register name for Select mode
|
||||
EXTERN int VIsual_select_reg INIT( = 0);
|
||||
/// Whether incremented cursor during exclusive selection
|
||||
EXTERN bool VIsual_select_exclu_adj INIT( = false);
|
||||
/// Restart Select mode when next cmd finished
|
||||
EXTERN int restart_VIsual_select INIT( = 0);
|
||||
/// Whether to restart the selection after a Select-mode mapping or menu.
|
||||
|
Reference in New Issue
Block a user