gvim 常用配置

set nocompatible
set nu!
filetype on 
set history=1000
syntax on 
set autoindent
set ai!
"set bg=dark
set autoindent
set smartindent
set backspace=2 
au BufNewFile,BufRead *.vh setf verilog 
set hlsearch 
set incsearch 
set gdefault 
if has("gui_running")
    set cursorline 
    hi cursorline guibg = #555555
    set cursorcolumn
    hi cursorcolumn guibg = #555555
set shiftwidth=4
set showmatch 
set ruler
set incsearch 
colorscheme desert 

au BufNewFile,BufRead *.f set filetype=verilog 
au BufNewFile,BufRead *.vh set filetype=verilog
au BufNewFile,BufRead *.sv set filetype=verilog 
au BufNewFile,BufRead *.vp set filetype=verilog 
au BufNewFile,BufRead *.svp set filetype=verilog 

 

转载于:https://www.cnblogs.com/Bnian/p/6097322.html

你可能感兴趣的:(gvim 常用配置)