[TxMt] Re: Automating Sphinx with Textmate

Allan Odgaard mailinglist at textmate.org
Fri May 28 12:35:28 UTC 2010


On 20 May 2010, at 17:52, Aaron Quinlan wrote:

> [...]
>   Upon writing this, I realize that my question now boils down to:  
> can one assign a keystroke to a command that will operate on the top- 
> level of a project directory?

Yes, create a new command¹ with something like:

     make -C "${TM_PROJECT_DIRECTORY:-$TM_DIRECTORY}" html

There is however a Make bundle which assigns ⌘B to  
“make” (default goal) and ⌥⌘B to show a pop-up of goals in your  
make file: http://github.com/textmate/make.tmbundle



¹ http://manual.macromates.com/en/commands




More information about the textmate mailing list