GVIM 设置 vimrc

set linespace=
set tabstop=
set expandtab
set nobackup
set nosmartindent
set noautoindent
set ruler au BufRead,BufNewFile *.sv set filetype=systemverilog
au BufRead,BufNewFile *.vh set filetype=systemverilog
au BufRead,BufNewFile *.vt set filetype=systemverilog
au BufRead,BufNewFile *.inc set filetype=systemverilog set tags=tags;
"set autochdir
nnoremap t :tag set paste syntax on
filetype on
filetype plugin on
filetype indent off set encoding=utf-
set fileencodings=utf-,chinese,latin-
if has("win32")
set fileencoding=chinese
else
set fileencoding=utf-
endif
"解决菜单乱码
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
"解决consle输出乱码
language messages zh_CN.utf- set guifont=Monospace\ Regular\
colorscheme default func Vheader()
call append(, '//===============================================')
call append(, '// Filename : '.expand("%"))
call append(, '// project : ')
call append(, '// Department : ')
call append(, '// Description : ')
call append(, '//')
call append(, '// Author : wuzhangquan')
call append(, '// Email : wzqim@qq.com')
call append(, '// CreateDate : '.strftime("%Y-%m-%d %H:%M:%S"))
call append(, '// Reversion : ')
call append(, '// Release Info : ')
call append(, '//===============================================')
call append(, '')
endfunc map <F2> :call Vheader()
上一篇:Perlin Noise——柏林噪声


下一篇:ssh 远程链接时出现错误提示:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED