From 7c01c931292f65933493626ad5cca60237269e47 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 15 Jan 2019 15:25:33 +1300 Subject: Correct unmapping commands for sh '\'' --- vim/after/ftplugin/sh.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim') diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim index d6716a3d..0fece696 100644 --- a/vim/after/ftplugin/sh.vim +++ b/vim/after/ftplugin/sh.vim @@ -49,8 +49,8 @@ let b:undo_ftplugin .= '|nunmap c' " Mapping to insert '\'' with Alt+'; not sure I'll keep this just yet if has('gui_running') inoremap '\'' - let b:undo_ftplugin .= '|nunmap ' + let b:undo_ftplugin .= '|iunmap ' else inoremap ' '\'' - let b:undo_ftplugin .= '|nunmap ''' + let b:undo_ftplugin .= '|iunmap ''' endif -- cgit v1.2.3