Skip to content

Commit 735b918

Browse files
committed
Remove unneeded unmaps from b:undo_ftplugin
The "im" and "am" mappings are present a bit later in the file and the "ic" and "ac" mappings are not relevant anymore.
1 parent 9f9f4be commit 735b918

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ftplugin/ruby.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ if !exists("g:no_plugin_maps") && !exists("g:no_ruby_maps")
130130
let b:undo_ftplugin = b:undo_ftplugin
131131
\."| sil! exe 'unmap <buffer> [[' | sil! exe 'unmap <buffer> ]]' | sil! exe 'unmap <buffer> []' | sil! exe 'unmap <buffer> ]['"
132132
\."| sil! exe 'unmap <buffer> [m' | sil! exe 'unmap <buffer> ]m' | sil! exe 'unmap <buffer> [M' | sil! exe 'unmap <buffer> ]M'"
133-
\."| sil! exe 'ounmap <buffer> im'| sil! exe 'ounmap <buffer> am'| sil! exe 'ounmap <buffer> ic'| sil! exe 'ounmap <buffer> ac'"
134133

135134
if maparg('im','n') == ''
136135
onoremap <silent> <buffer> im :<C-U>call <SID>wrap_i('[m',']M')<CR>

0 commit comments

Comments
 (0)