Location:/ETC/VIM/VIMRC
It is recommended to use Gedit for configuration. Even with the command: sudo gedit/etc/vim/vimrc
Set Mouse=a"Enable Mouse usage (all modes) set confirm"? Should be deleted for questioning to determine"Indent Lattice set tabstop=4Set shiftwidth=4Set Smarttab"Smart Indent Set Smartindent"Smart IndentColor Desert"Color Style Set Nu" display line number set ruler " row ruler set hlsearchset incsearch " Upstream and the row are search highlighting with set cursorline " row highlight set nobackup " Cancel automatic backup set Autoread " Auto read is more that file map <F9> <esc>:w<cr>:!g++%-o%<-wall-dlocal && ./%< <CR > "F9 compile and run IMAP <F9> <esc>:w<cr>:!g++%-o%<-wall-dlocal && ./%< <cr> span>
At the same time using the map operation extrapolate you can configure a key to open the gedit instructions, so it is likely to be convenient to copy and paste cut.
Note: This article reproduces the big Guy Ajcxsu's blog: http://www.cnblogs.com/acxblog/p/7497310.html
Easy VIM configuration under Noilinux