Monday, August 16, 2010

Re: Abbreviation is expanded by only pressing the key , how to do?

Am 16.08.2010 12:50, schrieb coolesting:
>
> As we know, the abbreviation is expanded when we pressing the key<ENTER>,
> <SPACE>, and<ESC>,
>
> now , i want to just only press the key<ESC> to expand it , how to setting
> the vim ?

There is no option, but you can create mappings (Insert and Cmdline mode):

:no! <Space> <Space>
:no! <Enter> <Enter>

Or, for Insert mode only:

:ino <Space> <Space>
:ino <Enter> <Enter>

--
Andy

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