From a9be8499660a38c67fcbc4f22a4cfac602eeeba4 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 10 Feb 2018 16:18:31 +0100 Subject: vimrc: Add w mapping to search with Ripgrep Searches the `` with Ripgrep for more streamlined project searching. --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 2340e84..473852f 100644 --- a/vimrc +++ b/vimrc @@ -394,6 +394,9 @@ " 2018.02.05: " * Make sp use `setlocal`. " +" 2018.02.10: +" * Add w to search the word under the cursor with Ripgrep. +" " Pathogen @@ -762,6 +765,9 @@ nnoremap mk :mksession! vimsession " Toggle spell checking nnoremap sp :setlocal spell! spell? +" Search with Ripgrep +nnoremap w :!rg + " Project Settings -- cgit v1.2.3