X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f17aa5dd4eb1cf1764311340ad150edf0adcea2d..3ae18cf74447cfac9bf6fda7256f66ad41da3f8a:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 340d926..c0eb528 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' @@ -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,6 +357,7 @@ 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