Skip to content

Commit 43f6057

Browse files
committed
Change ic and ac to iM and aM
Closes vim-ruby#46.
1 parent 3720d28 commit 43f6057

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ftplugin/ruby.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ if !exists("g:no_plugin_maps") && !exists("g:no_ruby_maps")
137137
\."! sil! exe 'ounmap <buffer> im' | sil! exe 'ounmap <buffer> am'"
138138
endif
139139

140-
if maparg('ic','n') == ''
141-
onoremap <silent> <buffer> ic :<C-U>call <SID>wrap_i('[[','][')<CR>
142-
onoremap <silent> <buffer> ac :<C-U>call <SID>wrap_a('[[','][')<CR>
140+
if maparg('iM','n') == ''
141+
onoremap <silent> <buffer> iM :<C-U>call <SID>wrap_i('[[','][')<CR>
142+
onoremap <silent> <buffer> aM :<C-U>call <SID>wrap_a('[[','][')<CR>
143143
let b:undo_ftplugin = b:undo_ftplugin
144-
\."| sil! exe 'ounmap <buffer> ic' | sil! exe 'ounmap <buffer> ac'"
144+
\."| sil! exe 'ounmap <buffer> iM' | sil! exe 'ounmap <buffer> aM'"
145145
endif
146146

147147
if maparg("\<C-]>",'n') == ''

0 commit comments

Comments
 (0)