Add mapping for :Ag <cword>
This commit is contained in:
parent
3dd8259c01
commit
87d9693973
@ -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