[TxMt] Re: insert end-of-line comments

chad gulley cag at adfitech.com
Mon Dec 15 15:23:30 UTC 2008


On Dec 14, 2008, at Dec 14, 2008  |  5:25 AM, Matt Foster wrote:

> On Sat, Dec 13, 2008 at 8:00 PM, chad gulley <cag at adfitech.com> wrote:
>> Has anyone out there come up with a way to insert "end-of-line"
>> comments.  As a former vim user, I had a plugin that would insert a
>> comment on column 55 of the given line.  I would love to be able to  
>> do
>> the same in textmate.  Any suggestions?
>
> If I've understood correctly, http://gist.github.com/35668 should be
> what you're after.
>
> If you paste it into a new command in the bundle editor, and set the
> input / output dropdowns as per the comments you should be able to try
> it out. You could set a key-binding too.
>
> Hope it helps,
>
> Matt
>
> -- 
> Matt Foster | http://hackerific.net
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

That is fantastic.  Thanks so much!  The only problem is that my  
cursor goes to the beginning of the line.  Any ideas on how to insert  
that comment then have the cursor jump to the end of the selected line  
so I can type my actual comment?

Thanks again.




More information about the textmate mailing list