aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 2340e84..473852f 100644
--- a/vimrc
+++ b/vimrc
@@ -394,6 +394,9 @@
" 2018.02.05:
" * Make <leader>sp use `setlocal`.
"
+" 2018.02.10:
+" * Add <leader>w to search the word under the cursor with Ripgrep.
+"
" Pathogen
@@ -762,6 +765,9 @@ nnoremap <leader>mk :mksession! vimsession<cr>
" Toggle spell checking
nnoremap <leader>sp :setlocal spell! spell?<cr>
+" Search <cword> with Ripgrep
+nnoremap <leader>w :!rg <cword><cr>
+
" Project Settings