4 ms·
No, I use them with the f and F keys. They repeat the previous character search in forward and backward directions.
by chongli 6y ago
No, I use them with the f and F keys. They repeat the previous character search in forward and backward directions.
- atweiden 6y agoI find rhysd/clever-f [1] to be more DWIM than Vim's default f/F. " 0: F is backward search, and repeating f after F searches in the same direction " 1: F is backward search, and repeating F after F searches in the same direction let g:clever_f_fix_key_direction = 1 [1] https://github.com/rhysd/clever-f.vim https://github.com/rhysd/clever-f.vim
- chongli 6y agoI try not to use vim plug-ins where built in functionality will suffice. I’ve trained vim’s default behaviour into my muscle memory so I’m fine with it. In fact, I used plain old vi (technically Keith Bostic’s nvi [1]) for years and sometimes I find myself preferring it. I think a lot of people who use vim end up with a ton of unnecessary plugins and they aren’t even aware of half the functionality of plain vi. I might just be a weird minimalist though. [1] https://sites.google.com/a/bostic.com/keithbostic/vi/ https://sites.google.com/a/bostic.com/keithbostic/vi/
- leephillips 6y agoOh, I see. Sorry for assuming. I use the ; for that often, but didn't even know about , for going backwards. (Now I'm thinking that my bunch of maps using , were not such a good idea.)