码迷,mamicode.com
首页 > 系统相关 > 详细

我的vimrc

时间:2015-02-28 15:58:10      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:

set number
set showmatch
set hlsearch
set incsearch
set ruler

set cursorline
set cursorcolumn

set tabstop=2
set expandtab
set shiftwidth=2

"set smartindent
"set cindent
set autoindent

set nocompatible
set backspace=indent,eol,start

syntax on

au BufNewFile,BufRead *.vp setf verilog
au BufNewFile,BufRead *.gv setf verilog
au BufNewFile,BufRead *.cv setf c

au BufNewFile,BufRead *.cv set filetype=systemverilog

map <F5> :e!<CR>
map <F11> :set autoindent<CR>
map <F12> :set noautoindent<CR>

source $VIMRUNTIME/macros/matchit.vim
let b:match_words=\<begin\>:\<end\>,\<case\>:\<endcase\>,\<module\>:\<endmodule\>,\<ifdef\>:\<endif\>
let b:match_ignorecase=1

 

我的vimrc

标签:

原文地址:http://www.cnblogs.com/gaowf/p/4305352.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!