I have been using an IDE ever since I started programming, but now it is time to move on to something good.
I have decided to use vim. But I feel this entails a steep learning curve.
So what is a good tutorial for learning vim for a beginner?
|
|
Here's, to paraphrase Sinatra, my way: Step 1: Start using it. Forget about EditPlus, Notepad++, etc. Make sure stuff open in Vim by default. If you need to take an extra step to open something in Vim, chances are you're not going to do it. Step 2: Learn the most basic shortcuts to get around in Vim and use them! Do not try to remember a whole set of 50 commands in one tutorial you read online. You will not remember them! The only way to remember something like this is through repetition. Step 3: Once you're comfortable with step 2, think about what you're doing most frequently while editing and find a better way to do it in Vim. Chances are, there is a better way. Start using the new shortcut or a set of shortcuts to do what you normally do and stick with it. Your brain and your fingers must get used to this. It's going to be tough at first, and more than once you'll say "Arse!" and want to quit. But, don't. Just stick with it and you're going to wake up soon and realize you're not even thinking about the shortcuts anymore. They come naturally, like using WASD in FPSs after the first few "Arse!"s and "Feck!"s. |
|||
|
|
|
This vi cheat sheet is pinned on my wall. You may find it comes in handy when learning vim.
|
||||
|
|
|
There's tons of documentation/tutorials/books out there on Vim. Another great resource I found when I was first learning Vim a bit (still don't know hardly enough to be as good as some people) was the program As Zekta Chan has pointed out already, the main site has some information. A book that some colleagues have around the office is O'Reilly's vi and Vim Editors book and complimentary pocket reference. bash and Korn shell both support |
|||||||||
|
|
Check this VIM game, its plain awesome: http://vim-adventures.com/ It's the "Zelda meets text editing" game. Beat the game to master VIM. I finished 2 levels, 3rd under development it seems. Also check this. Its good: http://www.openvim.com/tutorial.html |
|||
|
|
I like vimcast It takes one subject per video blog and described in detail how to use the feature. The simplist commands you need are:
|
||||
|
|