New to the MBP high with a week, good to tears, thanks to mommy first ...
======================================
======================================
So, let's put the VI configuration first ...
======================================
It was readonly to use sudo for the VIMRC file, but it was a------->
Looked at a lot of information only to find that the Mac comes with the VIMRC can not change their own, you have to create a root directory ...
CD ~
Touch. VIMRC <--------change in this file ...
============ is the setup file. ===============
SYN on "syntax supports set laststatus=2" always displays the status bar set tabstop=2 "a tab length set softtabstop=2" a tab length (can be greater than TabStop) set shiftwidth=2 " An indented length set Expandtab "Use spaces instead of tab set SMARTTAB" Smart tab set autoindent "Auto indent set Smartindent" can only indent set number "show line numbers set ruler" Display location Indicator set BACKUPDIR=/TMP "Set backup file directory set directory=/tmp" Set temporary file directory set ignorecase "Ignore case when retrieving" set HLS "when retrieving highlight match set HELPLANG=CN" Help system set to Chinese set foldmethod=syntax "code folding
VIM configuration, storage, useful