tpope / vim-rsi

rsi.vim: Readline style insertion
http://www.vim.org/scripts/script.php?script_id=4359
583 stars 35 forks source link

CTRL-T overrides default mapping in some search modes #47

Closed odnoletkov closed 5 years ago

odnoletkov commented 5 years ago

CTRL-T mapping is currently explicitly disabled in regular search modes (/ and ?) to allow for default behaviour of jumping between incsearch results. Recently (I believe) Vim started supporting /_CTRL-G and /_CTRL-T in other search modes like :global, :vglobal, and :substitute. Previous special casing in vim-rsi doesn't work for them so it is impossible to jump back (/_CTRL-G works as expected). Can these modes also be special-cased to preserve default CTRL-T behaviour?

keith commented 5 years ago

See https://github.com/tpope/vim-rsi/pull/40