Vim function is very powerful, but has been useless proficiency, will only use some basic functions, in the good plug-in configuration is not configured to use this basic configuration. Study slowly later
Vim Change basic configuration vim default configuration is not satisfactory, but also need to configure the default profile is:/ETC/VIM/VIMRC We can set up our own configuration file in the home directory to switch home directory #cd ~ Touch a file named. VIMRC (starting with a. Hide file)
#VI. VIMRC#Enter the following configuration:Set nocompatible#do not use the VI default keyboard layoutSet number#Show Line NumbersSet Autoindent#Auto AlignSet Smartindent#Smart AlignmentSet Showmatch#Bracket Matching patternSet ruler#Show status LineSet Incsearch#query is very convenient, such as to find the book word, when input to/b, will be automatically to the beginning of the word, when input to/bo, will automatically find the first Bo beginning word, and so on, when you look, use this setting will quickly find the answer, when you find the word to match, don't forget to enter .Set tabstop=4#Tab key is 4 spacesSet shiftwidth=4#4 Spaces interleaved between rows when changing linesSet softtabstop=4#set (Soft) tab width to 4Set Cindent#C language Format alignmentSet Nobackup#do not back up files
VIM Basic Configuration