Thursday, July 12, 2012

doesn't work in inoremap

why doesn't the following mapping work.

inoremap .ba <Esc><End>i;<ESC>o

if i type (.ba), i am expecting it to become

();
__cursor should reach here.

but i get the following

(;)
__cursor comes here


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment