Are the commands in the tutorial sufficient for ordinary users? Is it necessary to buy a book?
大家讲道理2017-05-16 16:42:39
I think you should practice more. There is nothing you can’t do, only things you can’t imagine
After you use it for a while, you will think that vim has a particularly convenient function, and then you will find that TMD really has this function!
http://coolshell.cn/articles/5426.html If you do this blog 4 or 5 times from top to bottom, you will basically be able to master it.
Of course, if you want to know more deeply, you can download a pdf of the "Vim User Manual", which is very detailed and can be viewed at any time. Forgive me for loving piracy in my life~
phpcn_u15822017-05-16 16:42:39
Intuition is the most important -- using Vim efficiently
Vim is not anti-human, and most operations are intuitive. Don’t memorize commands, make good use of patterns, and understand Vim’s motion methods. Throw away the mouse and even use hjkl less and more motion (f, t, w, e, b, ge, etc...).
In fact, only motion is the core, and the others will be remembered after you use them a lot.
You have to choose between tiring your brain or tiring your fingers. Vim’s choice is tiring your brain.
巴扎黑2017-05-16 16:42:39
I feel that vim commands are for those who know how to use them, not for those who know how to read them; there are many commands, and it is hard to remember them all at once. Just look them up when you encounter a command you don’t know.
For example, at first you already know that you can use esc and i to switch states, and you can use backspace to delete a word in edit mode. Later, you feel that it is too laborious to use backspace every time, and you will force yourself to find the related commands for deletion. At this time, remember It is easier to use dw and dd commands.