|go ahead... be a heretic|
Re^2: Desparately seeking a bilingual vim/Emacs expertby barrachois (Pilgrim)
|on Mar 24, 2005 at 19:50 UTC||Need Help??|
Yes, I agree that cperl is the right mode to use. I use it daily in XEmacs.
I've also been using mmm-mode regularly to edit HTML::Mason files, with the mode (and syntax highlighting and background) changing between blocks of html and perl.
I also like your brief version of the tab definitions. However, while I'm not sure exactly what the tab key does in vim perl, cperl's default tab definition took me a bit of getting used to - particularly in that by default hitting tab at the end of a line indents the whole line appropriately instead of moving to the righ to get ready for a comment.
It might be worth noting that
tells cperl that tab means indent when the cursor is to the left of the text, otherwise it means "insert-tab" - though I believe that's still different from the shift-tab defined as "tab-to-tab-stop" which I use more often.
As far as Damian's named macros for inserting a specific chunk of text or loading a specific template, I'd suggest something like the following.
Finally, you might be amused by these definitions. for », «, ¥
update: fixed a typo; "control" not "crontol"