aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-01-15 15:25:33 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-01-15 15:25:33 +1300
commit7c01c931292f65933493626ad5cca60237269e47 (patch)
treeeeb004bfbc16304822c57a5535f944e4618e885b
parent81d507bd68de8da731e76aec902eadd490800e9c (diff)
downloaddotfiles-7c01c931292f65933493626ad5cca60237269e47.tar.gz
Correct unmapping commands for sh '\''
-rw-r--r--vim/after/ftplugin/sh.vim4
1 files changed, 2 insertions, 2 deletions
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 <buffer> <LocalLeader>c'
" Mapping to insert '\'' with Alt+'; not sure I'll keep this just yet
if has('gui_running')
inoremap <buffer> <M-'> '\''
- let b:undo_ftplugin .= '|nunmap <buffer> <M-''>'
+ let b:undo_ftplugin .= '|iunmap <buffer> <M-''>'
else
inoremap <buffer> <Esc>' '\''
- let b:undo_ftplugin .= '|nunmap <buffer> <Esc>'''
+ let b:undo_ftplugin .= '|iunmap <buffer> <Esc>'''
endif