X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=vim%2Fvimrc;h=dafbea714e132e31a8afdd02115f90e412ac1d09;hb=HEAD;hp=1dd023a41f546d524e971aebcea8afd2a946a062;hpb=389bda304271f1cff2b019628db717e9aec64827;p=dotfiles.git diff --git a/vim/vimrc b/vim/vimrc index 1dd023a..dafbea7 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -39,6 +39,7 @@ Bundle 'MattesGroeger/vim-bookmarks' "Bundle 'kien/ctrlp.vim' "disable since some conflicting mapping Bundle 'vim-latex/vim-latex' +Plugin 'vimperator/vimperator.vim' call vundle#end() filetype plugin indent on @@ -83,6 +84,7 @@ set confirm set nostartofline " don't jump to first character when paging set wrap set expandtab +set backspace=indent,eol,start "set textwidth, formatoptions for chinese set formatoptions+=m set colorcolumn=+1 @@ -118,6 +120,8 @@ endif " Mappings ---------------------------------------------------------------- {{{ let mapleader = ";" map Q gq +nnoremap Q +nnoremap gq " Normal mode ------------------------------------------------------------- {{{ nnoremap Y y$ nnoremap ' ` @@ -198,8 +202,9 @@ inoremap u inoremap inoremap inoremap -inoremap -inoremap +inoremap +inoremap +inoremap ui imap " }}} " Command mode ------------------------------------------------------- {{{ @@ -306,7 +311,7 @@ let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/ " this is fix youcompleteme python error "http://www.cnblogs.com/clivelee/p/4266559.html "https://github.com/Valloric/YouCompleteMe/issues/18 -let g:ycm_path_to_python_interpreter= '/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python' +"let g:ycm_path_to_python_interpreter= '/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python' let g:ycm_auto_trigger = 1 let g:ycm_seed_identifiers_with_syntax = 1 let g:ycm_show_diagnostics_ui = 0