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 at first) and snipmate [2]. Regards, Simon [1]: http://www.vim.org/scripts/script.php?script_id=2611 [2]: http://www.vim.org/scripts/script.php?script_id=2540 -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
pgpRrZWg6WCtp.pgp
Description: PGP signature