From a05099b6bbdca13d4888450f06d251a9d0ebba6f Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 28 Apr 2020 10:20:35 +0530 Subject: [PATCH] nvim: Fix mapping for diff section jumps Do not conflict with paragraph motion mapping. Signed-off-by: Sanchayan Maity --- nvim/.config/nvim/init.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 51f9afe..b7bd19a 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -285,8 +285,8 @@ omap ah (GitGutterTextObjectOuterPending) xmap ih (GitGutterTextObjectInnerVisual) xmap ah (GitGutterTextObjectOuterVisual) " Jump to sections of diff -nnoremap { ?^@@ -nnoremap } /^@@ +nnoremap [d ?^@@ +nnoremap ]d /^@@ " For Neomake/Neoformat nnoremap nm :Neomake nnoremap nc :NeomakeClean