diff options
author | Aaron LI <aly@aaronly.me> | 2019-10-03 11:12:38 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-10-03 11:12:38 +0800 |
commit | e7bd221bc58a4437d9c0ab5f31193e68cd3e01db (patch) | |
tree | 3d4b0c97a99ca19c4957b1337e20bdb47f200b74 | |
parent | 3c3b6e708a9d723380e825939bbfe9a8235e5bb0 (diff) | |
download | dotfiles-e7bd221bc58a4437d9c0ab5f31193e68cd3e01db.tar.bz2 |
vim: Add <leader>* key map
-rw-r--r-- | _vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -300,6 +300,9 @@ inoremap <F1> <Esc> vnoremap <leader>y "+y noremap <leader>p "+p +" Grep the word under cursor +nnoremap <leader>* :grep! "\b<C-r><C-w>\b"<cr>:cw<cr> + " Use the Silver Searcher if executable("ag") set grepprg=ag\ --nogroup\ --nocolor |