Add mapping for :Ag <cword>
This commit is contained in:
parent
1cdfd0bad8
commit
39e96c88b1
@ -37,6 +37,8 @@ nnoremap <C-f>l :BLines<CR>
|
||||
nnoremap <C-f>c :Colors<CR>
|
||||
nnoremap <C-f>h :Helptags<CR>
|
||||
nnoremap <C-f>s :Snippets<CR>
|
||||
" Search to the word under the cursor
|
||||
nnoremap <leader>ag :Ag <C-R>=expand('<cword>')<CR><CR>
|
||||
|
||||
" Treat long lines as line containing breaks
|
||||
nnoremap j gj
|
||||
|
Loading…
x
Reference in New Issue
Block a user