4 ms·
I've been using Vim and vim-derivatives almost exclusively for the past 15 years, and I think none of the things you mentioned are important to use vim. The fi
by erezsh 7y ago
I've been using Vim and vim-derivatives almost exclusively for the past 15 years, and I think none of the things you mentioned are important to use vim.
The first and most important things to understand are:
- Normal mode is the default mode. Only leave it when you already know what you want to write.
- Movement follows the [<count>] <verb> <target> model. The most used verbs are: d, y, p
The most used targets are j, k, f, F, /, w, W, e, b
Other useful keys to know and use: a, A, o, O, *, ., %
And lastly, learn how to use macros! (q, @)
If you just learn everything I listed here (and it isn't much), until it feels natural, you already know 90% of what you need to boost your editing speed and use vim like a pro.
- jakobegger 7y agoI already knew some basics of vim, as I've been semi-regularly using it for a long time to edit files on the command line. Everytime I ssh into a server I use vim to edit text files. I can get everything done that I need to do. My struggle with vim is that it just slows me down. I'm used to the way that text editors work on the Mac, and I'm really fast with them. Working in Textmate or Sublime or Xcode or even BBedit feels natural to me. But as soon as I switch to Vim, everything feels difficult. I think a big problem with Vim is that it's really hard to learn when it's not your primary editor.