Earlier quoted context omitted.
Why would you want to disable arrow keys?
To to keep your fingers on the home row, in order to have better access to all the other keys in your keyboard. Having your fingers on the arrow keys mean your hand has to travel that much further to type the other keys—making you slower.
Two Simple Steps Helped Me Learn Vim
21–30 of 92 posts
Re: Two Simple Steps Helped Me Learn Vim
#22Also...maybe I don't write/edit enough code to justify learning vim? I mean, both measured in lines and in number of projects. I'd like to think I've advanced to the point where I'm spending 95% of my time thinking and 5% of my time actually typing in code...being able to quickly grep and navigate through Sublime Text is definitely a vital asset, but I'm not sure how much vim will add to my overall efficiency.
Re: Two Simple Steps Helped Me Learn Vim
#23Here 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,;]
> - force yourself to only move vertically using relative numbers
> - force yourself to only move horizontally using [fF,;]
These tips doesn't strike me as helpful. The w, b, e et al. (word boundary); % (paired delimiters); /, ? (occurrence); ^, $ (begin/end of line); and text object motions are indispensable to a Vimmer, and I use them all far more than I use [fF,;]. / and ? are more useful to me than f/F because it's often easier and faster to include another character or two of unique context for a character than to count occurrences beforehand or tap ; a bunch of times and they also work across multiple lines.I'm finally learning and remembering to use marks which are another great way to navigate a buffer or even several buffers at once.
Re: Two Simple Steps Helped Me Learn Vim
#24http://vimfoo.com/2012/09/vim-shortcut-wallpaper/
The downside of that is that it isn't customizable, so I get why he likes the 3x5 card. But at least you can't lose this.
Re: Two Simple Steps Helped Me Learn Vim
#25But 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?
Re: Two Simple Steps Helped Me Learn Vim
#26hjkl i Esc or ^[ :w :q :q! :wq
Re: Two Simple Steps Helped Me Learn Vim
#27Earlier quoted context omitted.
Why would you want to disable arrow keys?
To to keep your fingers on the home row, in order to have better access to all the other keys in your keyboard. Having your fingers on the arrow keys mean your hand has to travel that much further to type the other keys—making you slower.
Re: Two Simple Steps Helped Me Learn Vim
#28Here 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 keys can help you stay productive and keep using it for long enough until you cross over the productivity threshold (where you're more productive than on a normal editor, even though you still have a lot more learning to do).
Re: Two Simple Steps Helped Me Learn Vim
#29I 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 operates: https://pragprog.com/book/dnvim/practical-vim
Re: Two Simple Steps Helped Me Learn Vim
#30Vim is a huge editor but I don't think the subset of commands that are absolutely necessary to do any editing at all is difficult to memorise; from memory, these are the ones I started with: hjkl i Esc or ^[ :w :q :q! :wq