Skip to content

Instantly share code, notes, and snippets.

@guori12321
Created April 23, 2014 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guori12321/11216257 to your computer and use it in GitHub Desktop.
Save guori12321/11216257 to your computer and use it in GitHub Desktop.
""""""""""" 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