Skip to content

Commit

Permalink
Vim: Have Ag search for word under cursor.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnadlerjr committed Jul 8, 2015
1 parent bda1aac commit e645959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimrc
Expand Up @@ -166,7 +166,7 @@ nnoremap <Leader>c <space>
map <Leader>= gg=G``<CR>
" Search using Ag
nnoremap <Leader>a :Ag<SPACE>
nnoremap <Leader>a :Ag<CR>
" Rails specific key mappings
map <leader>gr :topleft :split config/routes.rb<cr>
Expand Down

0 comments on commit e645959

Please sign in to comment.