Hello,

* On Sun, Jun 25, 2006 at 12:06:51AM +0800, Dr Bean <[EMAIL PROTECTED]> wrote:

> Another common idiom in perl is q//,qq//,qw//,qr// as a form of
> quotation, like ''. I need to look at how the '' mappings are
> done. I think it should be fairly easy to copy and paste them.

The main code is defined in plugin/common_brackets.vim, the filetype
(C&C++) specializations beeing in ftplugin/c/c_brackets.vim.
But I'm not sure this is the best way to define macros to q/, qq/,
... I think InsertSeq() is more adapted to the expansion of
smart-abbreviations.


-- 
Luc Hermitte
http://hermitte.free.fr/vim/

Reply via email to