Linux-Vim配置

1.sudo vim /etc/vim/vimrc 
2.
set ruler
set number  
set expandtab   
set autoindent  
set smartindent    
set cindent  
set tabstop=4    
set softtabstop=4   
set shiftwidth=4   
set smarttab      
set nocompatible  
set history=1000  
set fenc=utf-8  
set pastetoggle=<F11>  
set showmatch  
set matchtime=5  
set hlsearch   
set incsearch    
filetype on  
colorscheme evening  
syntax enable    
syntax on  

行号,tab=4空格,缩进,高亮

效果如下




猜你喜欢

转载自blog.csdn.net/weixin_40047053/article/details/79990323
今日推荐