Wednesday, July 18, 2012

insert mode map multiple spaces

with the following insert mode mapping, if i type "test<space>oe", i'll get
double space between "test one", can i change the mapping to always have
atmost one <space>

inoremap oe <space>one<space>

--
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: