How to write your own VIM configuration file from scratch?
某草草2017-05-16 16:40:57
It is difficult to write without reference, unless you have used vim for a long time and have a good understanding of various parameters. But it’s not difficult to copy here and there to make up your own.
In addition to spf-13, I recommend terryma’s vimrc. The former is a very good and easy-to-use vimrc template, with clear structure, rich documentation, and the ability to customize. The latter vimrc is a single file (the vimrc of many experts such as Shougo is divided into many files, which is convenient for organization but difficult for novices to read and easy to find the clue), and the map
part is arranged by key position, which is very Being creative, memorizing key positions is very important for novices. However, when terryma updated vimrc several times recently, the comments in it were out of date and did not correspond to the content. You can look at previous commits.
In short, the most important thing to refer to vimrc is that it is best for experts to write comments and check various set
有解释到底是做什么。或者至少手头备一份vim的man
comparisons.
Let’s briefly talk about a few key points of writing vimrc:
unite
is very powerful, but it is difficult to play without certain experience) 给我你的怀抱2017-05-16 16:40:57
Starting from scratch, you need a lot of time to read the documentation. I have written a series here and recommend you to read the philosophy of Vim. The third article talks about basic configuration, which can be used as a starting point: /a/1190000000446738
世界只因有你2017-05-16 16:40:57
Ask yourself "What do I want to do"
Check the document "How to do it"
Just do it!!