From 540a83df812fd941673cd2a723674b890505b520 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Mon, 13 Jul 2020 11:19:38 +0530 Subject: [PATCH] nvim: keymappings: Update bindings for search and replace Do this to avoid slowing sneak and ferret a little bit due to 's' conflict. Signed-off-by: Sanchayan Maity --- nvim/.config/nvim/keymappings.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/.config/nvim/keymappings.vim b/nvim/.config/nvim/keymappings.vim index fcecf54..f085870 100644 --- a/nvim/.config/nvim/keymappings.vim +++ b/nvim/.config/nvim/keymappings.vim @@ -14,8 +14,8 @@ nnoremap B :LMake " Save nnoremap w :w " Search and Replace -nnoremap sr :%s//g -nnoremap sr :%s/\<\>//g +nnoremap c. :%s//g +nnoremap c. :%s/\<\>//g " Quit nnoremap x :x nnoremap q :q