Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Position of fingers for better productivity in Vim [closed]

I am an absolute starter with vim. Right now I am learning vim through vimtutor. To get better productivity where should my fingers be placed while using H,J,K, L keys . Any diagram will suffice here . I want to learn it correctly the first time.

like image 594
Geek Avatar asked Dec 24 '12 12:12

Geek


People also ask

Where do I put my fingers in Vim?

Vim is optimized for the touch typist. Learn to move around without removing your hands from the home row, and you'll be able to operate Vim quicker. The first thing you learn as a touch typist is that your fingers should rest on the home row.

What is Vim stack overflow?

Quincy Larson. Vim is a popular keyboard-only code editor originally released in 1991. It is famously difficult to learn, but many developers swear by it. Vim is installed on pretty much every Linux- or Unix-based computer, and if you accidentally open it, it's quite difficult to exit.


2 Answers

You should hold Your fingers on home row.

enter image description here

Vim key positioning try to take advantage of this and positions commonly used functionalities around home row. By doing this you can quickly switch between navigation and edition.

like image 85
Marcin Szymczak Avatar answered Sep 29 '22 10:09

Marcin Szymczak


You should learn touch typing. There are lots of tutorials out there.

Once you do this you will be much more productive, not only with vim but with any other application which requires typing as well.

like image 37
ilstam Avatar answered Sep 29 '22 10:09

ilstam