diff options
author | Teddy Wing | 2018-02-10 16:18:31 +0100 |
---|---|---|
committer | Teddy Wing | 2018-02-10 16:18:31 +0100 |
commit | a9be8499660a38c67fcbc4f22a4cfac602eeeba4 (patch) | |
tree | aabcf9cb3a9e60917832b4a9ee11dbade6def1df | |
parent | 34a8833b0494851b4b6f7523387fe567e5e5d87a (diff) | |
download | dotvim-a9be8499660a38c67fcbc4f22a4cfac602eeeba4.tar.bz2 |
vimrc: Add <leader>w mapping to search with Ripgrep
Searches the `<cword>` with Ripgrep for more streamlined project
searching.
-rw-r--r-- | vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |