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 {<CR> {<C-o>o}<C-o>O (I suggest not to remove <CR> as you almost definitely will need to type a single `{' some time). Original message: > Hi, > > Is there any convinent way to map { to the following code snips: > > { > //put cursor here > } > > Thanks! > Wei
signature.asc
Description: This is a digitally signed message part.