VIM基本配置

                                            VIM基本配置

vim /root/.vim/

vim ~/.vimrc

filetype plugin on
let g:pydiction_location = '/root/pydiction-master/complete-dict'
let g:pydiction_menu_height = 3

" 设置字符编码                                                                
 set fileencoding=utf-8                                             
 set fileencodings=utf-8,gb2312,gb18030,latin1                      
 set termencoding=utf-8                                             
 set encoding=utf-8  

" 语法高亮                                                         
 syntax on                                                          
" 深色背景                                                         
filetype on                                                        
set cursorline
set number
set tabstop=4
set shiftwidth=4
 

 

你可能感兴趣的:(Linux)