h,j,k,l 代替箭头
ctr+v 块操作
shift+i 块插入
c,x,r 删除 插入 替换
sp file 添加新窗口
ctr+w 切换窗口
ctr+w+= 窗口大小相等
我的vimrc
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