> 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
No comments:
Post a Comment