[TxMt] edit file in browser

Andreas Wahlin andreas.wahlin at webbhuset.se
Thu Sep 7 08:16:01 UTC 2006

worked fabulously, thanks!


On Sep 6, 2006, at 19:00 , Michael Reece wrote:

> textmate supports a txmt:// schemed url of the form txmt://open? 
> url=file://...
> assuming that you are browsing file:// urls, you can use a  
> bookmarklet like this:
>   javascript:open('txmt://open?url=file://'+location.pathname).close()
> or it you are viewing http://localhost/ urls, you can use a  
> bookmarket like this:
>   javascript:open('txmt://open?url=file:///Library/WebServer/ 
> Documents'+location.pathname).close()
> hope that helps,
> michael.
> On Sep 6, 2006, at 2:11 AM, Andreas Wahlin wrote:
>> I'm spending a lot of time writing html mockups, which means i get  
>> to work lots on "raw" html files not tied to any backend of any  
>> sorts.  So my work usually exists of switching back and forth  
>> between camino (I use safari for normal browsing) and often  
>> navigating between files.
>> Now what I'd like is a way to catch the file I currently view in  
>> camino and start to edit it in textmate, and also take the file I  
>> edit in textmate and show it in camino (in the current tab)
>> The last thing there should already exist i suppose in some of the  
>> "preview in browser" actions, but what about getting the current  
>> html file from camino and editing in textmate?
> ______________________________________________________________________
> 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


Andreas Wahlin

Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg

Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20

Privileged/confidential information may be contained in this message.  
If you are not the addressee indicated in this message (or  
responsible for delivery of the message to such person), you may not  
copy or deliver this message to anyone. In such case, you should  
destroy this message and kindly notify the sender by a reply email.  
Thank you.

More information about the textmate mailing list