http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
2、 _vimrc 基本配置
set fileencodings=utf-8,utf-16,gbk,big5,gb18030,latin1 "自动猜测文件编码
syntax on " 自动语法高亮
set number " 显示行号
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
"Open command prompt by running :Cp
command Dos :!start cmd /k cd %:p:h<CR>
"Open windows explorer by running :We
command We :!start Explorer /select,%:p<CR>
3、技巧
4、http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches
没有评论:
发表评论