[TxMt] Best way to implement vim-like block comments?

Corey O'Connor coreyoconnor at gmail.com
Sat Feb 25 19:09:50 UTC 2006


I tried that at first, and it didn't align the * in the right column.
Maybe I'm a bit demanding, but that's important to me :-) Plus, I
don't mind if I don't get markdown's feature's in O'Caml ;-)

-Corey

On 2/25/06, Soryu <Soryu at serenity.de> wrote:
> I simply made a snippet
> "
> *       "
>
> bound it to enter and set the scope to "comment.block".
> Might be too simple and one has to press enter, though enter is bound
> to such things for different languages like markdown to continue
> lists and such :) It might not work correctly with your indentation
> but it's the simplest thing without changing grammars.
>
> Soryu
>
>
> On 25.02.2006, at 11:28, Corey O'Connor wrote:
>
> > One thing I liked about vim was the continuation of the "*" down the
> > same column for each line in a block comment.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>


--
-Corey O'Connor



More information about the textmate mailing list