Created
April 23, 2014 14:00
-
-
Save guori12321/11216257 to your computer and use it in GitHub Desktop.
This file contains 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
""""""""""" Encoding, to make sure the Chinese words looks nice | |
set encoding=utf-8 | |
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 | |
set termencoding=utf-8 | |
scriptencoding utf-8 | |
""""""""""" Common Setting | |
set wrap | |
set guifont=Menlo\ Regular:h24 | |
set display=lastline | |
"No swap files | |
"set nobackup | |
set backupdir=/Users/ray/Documents/.vimBackup/ | |
set noswapfile | |
""""""""""" Mapping | |
""""""The C-H mapping doesn't work and I don't know why | |
inoremap <C-H> <Left> | |
inoremap <C-J> <Down> | |
inoremap <C-K> <Up> | |
inoremap <C-L> <Right> | |
nnoremap <C-H> <C-W><C-H> | |
map <F5> :!./compile.sh<Enter> | |
""""""""""" Bundle | |
"To close the Code checking of spf13 | |
let g:pymode_lint = 0 | |
au BufWritePost .vimrc.local so ~/.vimrc.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment