Permalink
Browse files

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.
  • Loading branch information...
1 parent 9f9f4be commit 735b9181d878f0944eeaef20613570023fe7ec20 @AndrewRadev AndrewRadev committed May 26, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 ftplugin/ruby.vim
View
@@ -130,7 +130,6 @@ if !exists("g:no_plugin_maps") && !exists("g:no_ruby_maps")
let b:undo_ftplugin = b:undo_ftplugin
\."| sil! exe 'unmap <buffer> [[' | sil! exe 'unmap <buffer> ]]' | sil! exe 'unmap <buffer> []' | sil! exe 'unmap <buffer> ]['"
\."| sil! exe 'unmap <buffer> [m' | sil! exe 'unmap <buffer> ]m' | sil! exe 'unmap <buffer> [M' | sil! exe 'unmap <buffer> ]M'"
- \."| sil! exe 'ounmap <buffer> im'| sil! exe 'ounmap <buffer> am'| sil! exe 'ounmap <buffer> ic'| sil! exe 'ounmap <buffer> ac'"
if maparg('im','n') == ''
onoremap <silent> <buffer> im :<C-U>call <SID>wrap_i('[m',']M')<CR>

0 comments on commit 735b918

Please sign in to comment.