kana / vim-arpeggio

Vim plugin: Mappings for simultaneously pressed keys
http://www.vim.org/scripts/script.php?script_id=2425
269 stars 18 forks source link

Unexpected result when running a command included a binding key #12

Closed lvarayut closed 8 years ago

lvarayut commented 8 years ago

Let's say I have bound the tr to be expanded as true:

Arpeggio inoremap tr true

Then, I run command :normal i'use strict', the result shown as use strueict. Is there any workaround to solve this problem?

kana commented 8 years ago

Use :normal! instead of :normal.

lvarayut commented 8 years ago

Thanks for your help. It worked perfectly.