(not to be continued)
From the first use of Vim's wits, to now use HJKL navigation has formed a muscle memory.
Meet the most novice will be puzzled by the problem, here to organize down.
Getting Started FAQs
- IDE is very powerful, lightweight editor sublime is very useful, but also need to learn vim?
If you do not need, you can not learn, one day you need to come back to see, of course, you can choose to enter the world of vim now.
Most programmers will travel through a large number of development machines without a GUI, which is the value of Vim's existence.
The first tutorial, of course, is vimtutor, the paper came to the final light, only a knock command, to realize the pleasure of vim.
Chinese garbled not only windows cmd inside the Hot Hot Hot hot, vim of the world will also encounter, first give the simplest solution, add these lines to the configuration.
It takes a little bit of effort to understand what the code is. The CPU is severely only 0101, it handles the minimum length is byte, 8bits, and often hear the ASCII code is 1 byte, the highest bit is 0, the remaining 7 bits represent different symbols, the visible characters A-Z accounted for part.
In the simplest case, vim can be viewed as a byte of a byte, knowing exactly what shape to display. Chinese is more complex, 1 byte cannot be expressed, a specific encoding method is required to represent multiple bytes of a man, such as gb2312, GBK, GB18030, and the most common UTF8. But how does it know how to encode the file, there are some ways to detect the encoding, but not completely reliable, we specify the priority by setting FECs. Encode is used internally by VIM.
Common commands
Command mode
Edit mode
Configuration file
VIMRC at the beginning of the Web from a casual look for a copy, very useful, but do not understand, do not know how to change.
Plug - ins
Each person in the hands of vim is different, more or less left their own brand. Some people do not love tossing and turning, Vim is a handy editor, some people turn vim into the IDE's appearance, no difference, like the speed of the keyboard is not encoded speed of the short board.
On the other hand, tools can affect our thinking habits and let us focus on the problem itself. Throw away the plugins that lie in the folder after the installation, and the rest of the day is still in vim.
A tool that can not be separated daily vim