gvim 環境設置

配置文件:.gvimrc
內容如下:
#start----------------------------------------------------------------------------------------------------------
source ~/perl_format.rc
source ~/sv_format.rc
set title
“open mouse”
set mouse=a
“set Tab”
set tabstop=4
“set auto retract”
set ai
filetype indent on
“set softtabstop=4”
“set shiftwidth=4”
“set noexpandtab”
autocmd Filetype verilog setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab
autocmd Filetype systemverilog setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab
autocmd Filetype perl setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab
autocmd Filetype python setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab

set ic
“close auto annotation”
set fo-=r
“set the alignment line of colum and row”
set cursorcolum
hi CursorColum cterm=None ctermbg=darkgray ctermfg=white guibg=darkgray guifg=blue
set cursorline
hi Cursorline cterm=None ctermbg=darkgray ctermfg=white guibg=darkgray guifg=blue

colorscheme desert
set guifont=Monospace\ 16
“set code fold”
set foldmethod=marker
#end------------------------------------------------------------------------------------------------------------------
調用文件:sv_format.rc,只列舉部分內容,其他按此格式即可
#start-----------------------------------------------------------------------------------------------------------------
:iab svmodue //Description: module ();endmodule
:iab svclass //Description:class ;endclass
:iab svif if() beginend
#end------------------------------------------------------------------------------------------------------------------

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章