X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/eaba3abef798780da5126d319c316da8a06d477a..9a06c97b7b6aa40150b09b1400de31ebfcc5a425:/vim/vimrc?ds=inline diff --git a/vim/vimrc b/vim/vimrc index 841be45..8d37bfc 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -24,6 +24,7 @@ Bundle 'tComment' Bundle 'Valloric/YouCompleteMe' Bundle 'elzr/vim-json' Bundle 'http://git.code.sf.net/p/vim-latex/vim-latex' +Bundle 'ervandew/ag.git' filetype plugin indent on @@ -257,8 +258,6 @@ nmap e :NERDTreeToggle nmap :NERDTreeToggle " to open files/dirs let NERDTreeMapActivateNode='' -" open NERDTree if no files were selected -autocmd vimenter * if !argc() | NERDTree | endif " close vim if only NERDTree is open autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif