[TxMt] Insert File/Path names + open a file without using a GUI
Hans-Jörg Bibiko
bibiko at eva.mpg.de
Sun Mar 11 00:14:49 UTC 2007
>> [...]
>
> It's been a while now and mine is totally out of date, but have you
> seen my Filename / Filepath Completion?
> http://subtlegradient.com/articles/2006/11/02/filename-filepath-
> completion-for-textmate-screencast
>
> Might have saved you some time to just fix mine, oh well.
> I'll have to try yours out and see how it works. Maybe I won't have
> to upgrade mine afterall ;)
>
> thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
Of course, I know your Filename Completion and I was inspired by
it ;). I used it quite a while. But then it turned out that I prefer
a slightly different behaviour.
for example:
- '/us' -> automatically to '/usr/' [if 'us' is unambiguous]
- '/usr' -> I like to see the content of '/usr/' (instead of having a
pull-down item '/')
- I often write '/Apppli' ;) -> so I looked for a kind of 'auto-
correction'
- Many times I write within a bundle command in Ruby/Perl etc.
'TM_BUNDLE_SUPPORT' or whatever. After it I would like to insert a
file name very easily.
- I found it quite useful just to invoke the command to see the
content of the current directory based on TM_DIRECTORY
- and some other tiny stuff
- one thing I didn't implement: With your code I can select a part of
the path and replace it. By myself I never used it but if there is a
need for it I could add it.
regards, hans
More information about the textmate
mailing list