Replace GitGrep with Ag
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user