Replace GitGrep with Ag

This commit is contained in:
Yan Pritzker
2014-02-15 21:08:32 -06:00
parent 5d72a8c5a4
commit 399d1d290a
8 changed files with 70 additions and 49 deletions

View File

@@ -105,7 +105,7 @@ nmap <D-N> :NERDTreeToggle<CR>
" Open the project tree and expose current file in the nerdtree with Ctrl-\
nnoremap <silent> <C-\> :NERDTreeFind<CR>:vertical res 30<CR>
" ,q to toggle quickfix window (where you have stuff like GitGrep)
" ,q to toggle quickfix window (where you have stuff like Ag)
" ,oq to open it back up (rare)
nmap <silent> ,qc :cclose<CR>
nmap <silent> ,qo :copen<CR>
@@ -126,13 +126,6 @@ autocmd FileType javascript map <buffer> <D-j> {
map <D-/> :TComment<CR>
imap <D-/> <Esc>:TComment<CR>i
"GitGrep - open up a git grep line, with a quote started for the search
nnoremap ,gg :GitGrep ""<left>
"GitGrep Current Partial
nnoremap ,gcp :GitGrepCurrentPartial<CR>
"GitGrep Current File
nnoremap ,gcf :call GitGrep(expand("%:t:r"))<CR>
"Move back and forth through previous and next buffers
"with ,z and ,x