Re: How to map { properly in coding

2011-03-28 Thread Simon Ruderich
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

Re: How to map { properly in coding

2011-03-28 Thread ZyX
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