On Mon, Mar 28, 2011 at 11:30:31PM +0800, wei gao wrote:
> Hi,
>
> Is there any convinent way to map { to the following code snips:
>
> {
> //put cursor here
> }
>
> Thanks!
> Wei
You might want to try a "real" snippet engine. For example
xptemplate [1] (very powerful, but a little confusing
Reply to message «How to map { properly in coding»,
sent 19:30:31 28 March 2011, Monday
by wei gao:
You can try the following:
inoremap { {o}O
(I suggest not to remove as you almost definitely will need to type a
single `{' some time).
Original message:
> Hi,
>
> Is there any convinent wa