justinmk / vim-sneak

The missing motion for Vim :athletic_shoe:
http://www.vim.org/scripts/script.php?script_id=4809
MIT License
3.26k stars 88 forks source link

Make ; map to most recent f/s usage #298

Closed yodigi7 closed 1 year ago

yodigi7 commented 2 years ago

It would be nice to have ; overloaded so that it would work as the 'next' character for both f and s simultaneously. When pressed it will just repeat the most recent search whether it was the f search or the s search rather than only one or the other.

justinmk commented 2 years ago

Not sure I understand. It should already work like that, depending on your configuration. What exactly is your configuration, and what steps did you try?

There is also :h sneak-clever-s:

let g:sneak#s_next = 1