haya14busa / incsearch.vim

:flashlight: Improved incremental searching for Vim
https://medium.com/@haya14busa/incsearch-vim-is-dead-long-live-incsearch-2b7070d55250
MIT License
1.11k stars 23 forks source link

Question: incsearch-stay #150

Open damnskippy opened 6 years ago

damnskippy commented 6 years ago

First thanks for incsearch.vim and also for integrating natively into vim. In addition to ? & /, one additional functionality from incsearch.vim was g/ i.e. <Plug>(incsearch-stay) Is that functionality available or possible natively in vim? Thanks.

damnskippy commented 6 years ago

It is currently sort of possible in the sense that one could initiate a search and start typing, which would cause matches to be highlighted and at this point, terminating the search (using <Ctrl-C> for instance) will still keep the cursor where it was when the search was initiated. However it is not as smooth or elegant as g/ is.