This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " VIM配置文件 | |
| " Author: Fanzeyi (fanzeyi1994[at]gmail.com) | |
| " Last Modified Date: 2010-10-13 17:49 | |
| " 设置语言及编码 | |
| set langmenu=zh_CN | |
| let $LANG = 'zh_CN' | |
| source $VIMRUNTIME/delmenu.vim | |
| source $VIMRUNTIME/menu.vim | |
| set enc=utf-8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " 一般设定 | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " 设定主题 | |
| colo evening | |
| " 设定默认解码 | |
| set fenc=utf-8 | |
| set fencs=utf-8,usc-bom,euc-jp,gb18030,gbk,gb2312,cp936 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "inoremap ( ()<ESC>i | |
| inoremap ( <c-r>=OpenPair('(')<CR> | |
| inoremap ) <c-r>=ClosePair(')')<CR> | |
| "inoremap { {}<ESC>i | |
| inoremap { <c-r>=OpenPair('{')<CR> | |
| inoremap } <c-r>=ClosePair('}')<CR> | |
| "inoremap [ []<ESC>i | |
| inoremap [ <c-r>=OpenPair('[')<CR> | |
| inoremap ] <c-r>=ClosePair(']')<CR> | |
| "inoremap < <><ESC>i |
NewerOlder