> You want to use the <buffer> modifier to the map. I suggest placing the map
>
> inoremap <buffer> { ^M{^M}<ESC>O
>
> into .vim/ftplugin/cpp.vim so it is only activated in C++ buffers;
> the <buffer> qualifier will keep its effect there.
>
> Regards,
> Chip Campbell
thanks, problem solved :)
cheers,
keyan
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---