Two Simple Steps Helped Me Learn Vim
31–40 of 92 posts
Re: Two Simple Steps Helped Me Learn Vim
#32I have been meaning to learn Vim for a while but everytime I was trying I ended up being overwhelmed by the number of command (and also frankly, the weird syntax of .vimrc). I finally took a step by step approach and started with a very minimal .vimrc and worked my way up from there, solving real problems I ran into. I think the key is to choose your battle. Also this helped me understand the core concepts of how Vim…
Another tip to advance up the learning curve is to start using vim for everything, not just code. Write email, todo's, documentation, and everything else with it and pretty soon the learning curve doesn't feel so steep anymore.
Re: Two Simple Steps Helped Me Learn Vim
#33The biggest thing that helped me to learn to use vim fluently by building up muscle memory (and making commands automatic) was playing Vim Adventures, a browser based adventure game that gradually teaches you vim commands: http://vim-adventures.com/ I haven't tried the full (paid) version yet, but the demo was enough to get me moving around text quickly. Now I finally understand why people use this crazy thing. :) Al…
Still, highly recommended. It's been a lot of fun to play, and it helped me to quickly become proficient.
Re: Two Simple Steps Helped Me Learn Vim
#341. Run through vimtutor thoroughly [~30 mins].
2. While doing that, memorize the 10-15 commands in the tutorial that stick. Leave the rest (for a later time).
3. Start using vim full-time from now on.
Worked perfect!
Re: Two Simple Steps Helped Me Learn Vim
#35But that was what Ornstein meant by cheatsheet. Anyways, why did you "want to learn Vim for a long time", did you feel limited by st?
Vim is much more efficient. For example, within Tmux, one never needs to leave the terminal; with ST, there's a frequent switching cost which compounds over the course of a day. If one were to put Tim Pope up against an ST master, it's almost certain Pope would win.
Re: Two Simple Steps Helped Me Learn Vim
#36Also visualbell is almost mandatory otherwise "beep mode" was enough to drive me crazy.
Re: Two Simple Steps Helped Me Learn Vim
#37I've always wanted to learn vim, as so many great coders use it and swear by it, and it doesn't seem fundamentally harder than any other power-user skill. My biggest fear is that I work with novices (who are using something like Sublime) on a regular basis, and it's more friction than it's worth to switch between the two kinds of muscle memories. Also...maybe I don't write/edit enough code to justify learning vim? I…
Re: Two Simple Steps Helped Me Learn Vim
#38Here are some more tips: - disable arrow keys - turn relative numbers on by default - force yourself to only move vertically using relative numbers - force yourself to only move horizontally using [fF,;]
- disable arrow keys - force yourself ... - force yourself ... This strikes me as an attitude that drives people away from Vim. Maybe it depends on individual differences in learning style, but I would say the exact opposite. Embrace the arrow keys! And all else that is familiar. The moment you start with Vim you're diving in the deep end and productivity will take a plunge. At least training wheels like the arrow ke…
It's an editor, it should be as easy as possible. People (should) use VIM because it's powerful, not because it's different from other editors.
Re: Two Simple Steps Helped Me Learn Vim
#39But usually, whats missing is part 2, which goes: "... and this is why it was so totally worth it". An no, just because it works over SSH and is installed on every server is not quite sufficient.
Also, are you programming in a script language or a .NET or JVM behemoth?
Re: Two Simple Steps Helped Me Learn Vim
#40I have been meaning to learn Vim for a while but everytime I was trying I ended up being overwhelmed by the number of command (and also frankly, the weird syntax of .vimrc). I finally took a step by step approach and started with a very minimal .vimrc and worked my way up from there, solving real problems I ran into. I think the key is to choose your battle. Also this helped me understand the core concepts of how Vim…
One fun thing to do to a friend is echo q >> ~/.vimrc.