[2018-12-27 08:01] Cág <c...@bitmessage.ch>
> Silvan Jegen wrote:
>
> > I also prefer // (mostly because to insert those I can just do a block
> > insert in vim/vis). The only downside of //-style comments that I can
> > see is that they are only allowed since C99[0].
> > 
> > Maybe I am missing something too though.
>
> I use vi[0] and have this in my .exrc:
> map q 0i/* ^[$a */^[hh
>
> (Those are literal escapes)
>
> You press "q", and the line is commented out.

Ah, it's definitely (macro-)scriptable but I am just too lazy to do it :P

I thought I may be missing some other disadvantage of using //-style
comments...

Thanks for the input in any case!


Cheers,

Silvan

Reply via email to