diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-15 15:25:33 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-15 15:25:33 +1300 |
commit | 7c01c931292f65933493626ad5cca60237269e47 (patch) | |
tree | eeb004bfbc16304822c57a5535f944e4618e885b | |
parent | Merge branch 'release/v4.11.0' into develop (diff) | |
download | dotfiles-7c01c931292f65933493626ad5cca60237269e47.tar.gz dotfiles-7c01c931292f65933493626ad5cca60237269e47.zip |
Correct unmapping commands for sh '\''
-rw-r--r-- | vim/after/ftplugin/sh.vim | 4 |
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 |