Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jump to previous white space in vim/gvim

Tags:

vim

Instead of using 'b' to jump to the previous word I want to have a shortcut which jumps to the previous white space between words.

Matthias.

like image 723
Matthias Guenther Avatar asked Mar 25 '11 15:03

Matthias Guenther


2 Answers

Use F <space> to jump to the previous white space, and f <space> to jump to the next. To repeat those commands in the same direction, use ;, or use , to repeat them in the opposite direction.

like image 196
Grammin Avatar answered Oct 06 '22 00:10

Grammin


1 hour ago you asked about next white space. You should group your questions.

So: same as previously: Bh.

like image 26
Benoit Avatar answered Oct 05 '22 23:10

Benoit