File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,16 @@ function! s:setMapping() "{{{
114114endfunction " }}}
115115
116116function ! s: delMapping () " {{{
117+ iunmap <CR>
118+ iunmap <NL>
117119endfunction " }}}
118120
119121function ! s: loadMapping () " {{{
120122 " This requires the 'SaveMapping' plugin
121123 " (https://github.com/Ace-Who/vim-MappingMem).
122124 if exists (' :LoadMapping' ) == 2
123125 silent LoadMapping ' <CR>' , ' i' , ' global'
126+ silent LoadMapping ' <NL>' , ' i' , ' global'
124127 endif
125128endfunction " }}}
126129
@@ -129,6 +132,7 @@ function! s:saveMapping() "{{{
129132 " (https://github.com/Ace-Who/vim-MappingMem).
130133 if exists (' :SaveMapping' ) == 2
131134 silent SaveMapping ' <CR>' , ' i' , ' global'
135+ silent SaveMapping ' <NL>' , ' i' , ' global'
132136 endif
133137endfunction " }}}
134138
You can’t perform that action at this time.
0 commit comments