Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to jump upwards in easymotion plugin for VIM?

Tags:

vim

vim-plugin

How to jump to the lines above the cursor while using the easymotion plugin in vim?

like image 510
Rishabh Sagar Avatar asked Oct 06 '11 15:10

Rishabh Sagar


People also ask

What is easy motion in Vim?

EasyMotion provides a much simpler way to use some motions in vim. It takes the <number> out of <number>w or <number>f{char} by highlighting all possible choices and allowing you to press one key to jump directly to the target.

How do you sneak in Vim?

Vim-sneak. Vim-sneak is a middle ground between character search (inside a line) and pattern search (inside a file): Type s{char}{char} and the cursor flies to the first occurrence of that two character sequence. From then on type ; for the next occurrence, or , for the previous one.


2 Answers

To search words backwards use <Leader><Leader>b
Try <Leader><Leader>B to search WORDS

like image 191
Adolfo Abegg Avatar answered Sep 28 '22 09:09

Adolfo Abegg


<leader><leader>f will search forward while <leader><leader>F will search backward (and such upward!). Same with t and T.

This is analogous to standard Vim motion f / F

This is all explained in :help easymotion.txt

like image 44
Xavier T. Avatar answered Sep 28 '22 09:09

Xavier T.