In vim, I really love f
& t
in Normal mode. Are there vertical versions of these? If not, what's the best way to jump so many lines downward to a word that I see? Do I just have to count the lines and do 12j
or something?
Can you use /foo
(or ?foo
for backwards)? I tend to use that more than t
or f
anyway.
I think you'll love the EasyMotion plugin.
You'll type <leader>fb
to go to a b
, horizontally and vertically.
(you can also find the vim.org mirror git here)
Try vim-sneak, a plugin I wrote for this very reason. It enables you to jump to any location in three keystrokes by specifying the first two characters of the target:
s{char}{char}
For example, sab
moves the cursor to the next instance of the string "ab". And Sab
moves backwards to the previous instance of "ab".
It also supports:
dzab
, czab
, and yzab
) .
;
and ,
vim-sneak is similar to vim-seek, with many improvements.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With