[TxMt] Insert File/Path names + open a file without using a GUI

Charley Tiggs lists at tiggs.net
Sun Mar 11 18:25:18 UTC 2007


Hans-Jörg Bibiko wrote:
> 
> On 11.03.2007, at 17:03, Charley Tiggs wrote:
> 
>>
>> Hans,
 >>
>> One question:  Is it possible to force the plugin to always work from 
>> the root of a specific directory?  For example, I have a website set 
>> up as a project.  I'm never going to need any files outside of the 
>> project.  Possible to be able to type control-tab and start from the 
>> root of the project folder instead?
> 
> Hi,
> Project Example:
> 
> root (path='/usr/local/src/web')
> |
> |-css
> | |- a.css
> | |- b.css
> |-images
> | |- 1.jpg
> | |- 2.jpg
> |-main
> | |-includes
> | | |-j.js
> | |-htmls
> |   |-a.html
> 
> My current document is 'a.html'. I type:
> 
> '=/c' ; press CTRL+TAB ; the command will insert:  '/usr/local/src/web/css'
> 
> Charley: Would be this something you can use?

Hans,

This is definitely something I can use, with one small modification: 
strip off the root of the path to css.

so:

=/c
CTRL+TAB

inserts "/css", not "/usr/local/src/web/css".

Charley



More information about the textmate mailing list