X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f17aa5dd4eb1cf1764311340ad150edf0adcea2d..b52718f9143ea84d9f5c511664a1c5ec335cac6f:/vim/vimrc?ds=sidebyside diff --git a/vim/vimrc b/vim/vimrc index 340d926..3422030 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -15,7 +15,7 @@ Bundle 'gmarik/vundle' Bundle 'bling/vim-airline' Bundle 'elzr/vim-json' -Bundle 'ervandew/ag.git' +Bundle 'rking/ag.vim' Bundle 'http://git.code.sf.net/p/vim-latex/vim-latex' Bundle 'kien/ctrlp.vim' Bundle 'kshenoy/vim-signature' @@ -37,8 +37,8 @@ Bundle 'ompugao/ctrlp-ros' Bundle 'firef0x/pkgbuild.vim' Bundle 'derekwyatt/vim-fswitch' " seems to have problems right now... may be add later? -"Bundle 'jalcine/cmake.vim' -Bundle 'powerman/vim-plugin-viewdoc' +" Bundle 'jalcine/cmake.vim' +" Bundle 'powerman/vim-plugin-viewdoc' " remove entries first set runtimepath -=$HOME/.vim @@ -287,6 +287,8 @@ set viewdir=$XDG_CACHE_HOME/vim " plugins {{{1 " ag {{{2 let g:AgSmartCase = 1 +nnoremap ag yiw:Ag " +vnoremap ag y:Ag " " airline {{{2 let g:airline_detect_whitespace=2 @@ -355,10 +357,11 @@ let g:vim_json_syntax_conceal = 0 " vim-latex {{{2 let g:tex_flavor='latex' let g:Tex_DefaultTargetFormat='pdf' +let g:Tex_MultipleCompileFormats='pdf' -" vim-viewdoc {{{2 -let g:no_viewdoc_maps = 1 -nnoremap K :call ViewDoc('doc', '') +" " vim-viewdoc {{{2 +" let g:no_viewdoc_maps = 1 +" nnoremap K :call ViewDoc('doc', '') " functions {{{1 " auto source vimrc when saved