Skip to content

BeanGreen247/Vim-Master-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

The Vim Master Guide

4 steps to becoming a Vim/Vi master

Step 0:

Learn to touch type. Seriously - if your fingers don't know where the keys are then vim is going to be a pain. And even if you reject vim, touch typing will improve your programming (ask Steve Yegge ) by making the mind to monitor link friction free. There is a lot of software that can help you improve your typing.

Test yourself

https://www.ratatype.com/typing-test/test/

Best places to learn to touch type:

https://www.typingclub.com/sportal/program-3.game

https://www.ratatype.com/

https://www.typingstudy.com/

https://www.how-to-type.com/typing-practice/quote/

https://www.how-to-type.com/typing-practice/programming/

https://www.typing.com/student/lessons

https://www.tipp10.com/en/

Step 1:

Use vimtutor to get you started. It is in gvim (under the help menu I think) or you can just type 'vimtutor' at the command line. It will take 30-45 minutes of your time and then your fingers will know the basics of vi/vim and you should be able to edit files without wanting to hurl your keyboard out of the window.

https://www.youtube.com/watch?v=un8Ub1xKum8

https://www.youtube.com/watch?v=qsWY-8n9igM

https://www.youtube.com/watch?v=jUfw7aHD_xY

Step 2:

Use vim everywhere. See this question for tips and links for using vim and vi key bindings at the command line, from your web browser, for composing emails, in your IDE ... You need to use vim to embed the key bindings in your muscle memory.

Search for Vim addons for your web browser

https://duckduckgo.com/?q=vim+addons+web+browser&t=ffab&atb=v1-1&ia=web

Step 3:

Learn more about vim. You will only have scratched the surface with vimtutor. You can read about tips and tricks on StackOverflow . You can browse vimtips. Learn a litle often would be my advice - there is so much out there that sticking to bite-size chunks will be the best way to make the knowledge stick.

You can also use my Vim Cheat Sheet if you want to.

Step 4:

Flex and Profit :)