From 3cc305e4879075a49b0a5d4f53bb357eaad26892 Mon Sep 17 00:00:00 2001 From: Nick Jensen Date: Fri, 4 May 2018 12:40:24 +1200 Subject: [PATCH 1/2] Do not remap / when already mapped Check whether a mapping already exists for or before remapping. If either exists already, it indicates an alternate workflow for these keys (e.g. window resizing) that shouldn't automatically be overridden. --- autoload/mundo.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autoload/mundo.vim b/autoload/mundo.vim index 0729cb5..0b4a588 100644 --- a/autoload/mundo.vim +++ b/autoload/mundo.vim @@ -88,8 +88,10 @@ function! s:MundoMapGraph()"{{{ exec 'nnoremap