From 41d7cf0facc52e0c611a32117ea808df85a0a338 Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 20 Apr 2017 22:21:36 +0800 Subject: [PATCH] Fix setting but not saving, deleting or loading mappings for . --- autoload/LineUp.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/LineUp.vim b/autoload/LineUp.vim index 382643e..665a434 100644 --- a/autoload/LineUp.vim +++ b/autoload/LineUp.vim @@ -114,6 +114,8 @@ function! s:setMapping() "{{{ endfunction "}}} function! s:delMapping() "{{{ + iunmap + iunmap endfunction "}}} function! s:loadMapping() "{{{ @@ -121,6 +123,7 @@ function! s:loadMapping() "{{{ " (https://github.com/Ace-Who/vim-MappingMem). if exists(':LoadMapping') == 2 silent LoadMapping '', 'i', 'global' + silent LoadMapping '', 'i', 'global' endif endfunction "}}} @@ -129,6 +132,7 @@ function! s:saveMapping() "{{{ " (https://github.com/Ace-Who/vim-MappingMem). if exists(':SaveMapping') == 2 silent SaveMapping '', 'i', 'global' + silent SaveMapping '', 'i', 'global' endif endfunction "}}}