Skip to content

Commit

Permalink
Use gc to clear search so gq can format
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenharman committed Apr 2, 2012
1 parent 7308f7a commit a58a1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vim/key_mappings.vim
Expand Up @@ -49,7 +49,7 @@ nmap g* :Ack! -w <C-R><C-W>
nmap gA :AckAdd! nmap gA :AckAdd!
nmap gn :cnext<cr> nmap gn :cnext<cr>
nmap gp :cprev<cr> nmap gp :cprev<cr>
nmap gq :ccl<cr> nmap gc :ccl<cr>
" search and replace the word under the cursor " search and replace the word under the cursor
nnoremap <Leader>r :%s/\<<C-r><C-w>\>/ nnoremap <Leader>r :%s/\<<C-r><C-w>\>/
Expand Down

0 comments on commit a58a1d2

Please sign in to comment.