Hello Allan & other TM friends,
I'm one of the disturbed folks who tries to make life difficult for myself
and those around me by using the Dvorak-Qwerty layout. Apple was kind enough
to create this monster, but not kind enough to provide the adequate means
for developers to fully support it in their apps[1].
Is there anything in the works to handle the DQ layout properly in TM2? I'm
debating a switch to a pure Dvorak[2] layout and since TM is the app I type
into for hours daily it has the largest influence on my decision. I know
it's foolish to think that maybe Leopard will include some new key handling
abilities just for us DQ guys, but I'm clinging to a shred of hope.
The only reason I'm bringing this up is that every now and then a new bundle
shortcut will catch me by surprise, ie. Cmd-Opt-/ (which is Cmd-Opt-[ in
DQ) for commenting blocks overwrote the shortcut for re-indenting a block or
line. Cmd-/ works as it should, but for some reason Cmd-Opt-/ uses the
Dvorak / instead of the Qwerty /. Some default shortcuts don't work at all
(show scope). It's not that big of a deal and I accept that this is the
price I pay for choosing an obscure layout. However, my dislike of surprises
while coding[3] outweighs the benefits of using DQ in the first place; hence
this message.
[1] http://comox.textdrive.com/pipermail/textmate/2005-August/005238.html
[2] Oh how I would/will miss the cut, copy & paste shortcuts. They suck on a
Dvorak layout.
[3] I know, I know. Why the hell do I use the cutting edge build of TM if I
don't want surprises? ;-)
--
Sami Samhuri
http://sami.samhuri.net
Hi
Just found something I really miss in TM. Maybe I just didn't find it
yet, although it's implemented ;-)
Having a project with several subfolders, it would be nice to just
right click (or hit a key) to open a terminal window at the current
file's location.
Is that possible somehow? I have seen "Open "..." with finder.app"
and stuff, but no terminal.app.
TIA
André
Context:
I needed to insert tex files which filenames contained spaces into my
document. LaTex can handle this efficiently if quotes are provided in
the \include (like in \include{"bla bla/bla bla"}).
For easy moving along my document, I intended to use the "Open
Included File" command. But that command doesn't handle the quoted
filenames, as the quotes are taken into account as normal characters.
So here I am with a line to be added to that command in order to
correct that misbehaviour:
10: ...
11: if options.empty?
12: print "Did not find any appropriate item to open in #{ENV
['TM_SELECTED_TEXT'] ? "selection" : "current line" }"
13: else
14: options[0].each{|el| el.gsub!(/(^\")?(\"$)?/, '')} #<--
Here it is!
15: filepath = `kpsewhich #{e_sh options[0]}`.chomp
16: if filepath.empty?
17: ...
I don't know how to commit changes in a bundle (according I am
allowed to!). So now it's up to you, folks, to add it to the repository.
Note that I quickly and unformally tested it, and everything seems ok.
Xavier Cambar
Every so often, TextMate stops handling key bindings for bundle items. Built-in commands still work as expected. When I check ⌃⇧P in Select Bundle Item, it shows ⌃⇧<some roundrect symbol>. The behaviour persists even when I restart TextMate. Logging out seems to fix it. Sometimes it fixes itself. I haven't found anything in console.log.
It just happened to me again. This time I used Key Codes[1] to check what TextMate was getting.
Key Down
Characters:
Unicode: 16 / 0x10
Keys: ⇧^P
Key Code: 35 / 0x23
Modifiers: 2490371 / 0x260003
Terminal saw the modifier as 0x260103. Later, TextMate started showing 0x260103, too, but the command still didn't work.
Finally -- and I have no idea what changed -- things started working again, and I now have a modifier of 0x60103 in all apps.
[1] http://www.petermaurer.de/nasi.php?thema=keycodes&sprache=english
On 4. May 2007, at 15:56, Simon Gregory wrote:
>> if find_app >/dev/null «bundle identifier of iTerm»; then
>> echo 'We got iTerm installed!'
>> fi
>
> I'm assuming that the «bundle identifier of iTerm» is the value
> from this key found in iTerm.app/Contents/Info.plist
>
> <key>CFBundleIdentifier</key>
> <string>iTerm</string>
Yes, unfortunately that bundle identifier is in the wrong format. It
should be something like: “com.«company».iTerm”.
It will likely work though. Alternatively you can do: find_app
iTerm.app (then it looks using the app name instead of the bundle
identifier, normally the former would be more ambiguous).
> One thing, would iTerm need to have been run once in order for the
> system to register it's presence?
If it is in /Applications and possibly ~/Applications, the system
will automatically register the application (at boot time) -- maybe
some other locations are also magic.
But at least running the app, will ensure the system has it in the
index.
Maybe I'm just missing something here, but:
Please make it possible to use a filter for the files scanned using
Find in project. I almost always have a situation where I'm searching
for something in my HTML files only and that something will be present
in almost all of the PHP files, thus adding a lot of noise to the
search result dialog.
There will also be situations where I'm searching for instance all
index.php files in a large project.
And while I'm at it, please make the Find in project faster ;^)
--
Sven Axelsson
I love the "Find in Project" command - especially when I'm working on
lots of HTML files. But it lacks something that the regular "Find"
command has - the ability to see multiple lines in both the "Find" and
"Replace" field. If the "FInd in Project" had that feature, it would
be much, much more useful. I work mainly in HTML, and it would really
help with things like updating menus across the site - pieces of code
that are rarely on a single line.
I know that you CAN replace multiple lines of code with "FInd in
Project", but having the ability to *see* them would help immensely.
For some reason whenever I try to replace multiple lines of code, I
get weird duplicates and other strange things. Granted, that could be
more indicative of my own ability ; ) - but if I could see all the
code at once that I'm using, I think I would run into fewer problems.
Any thoughts?
Hi,
A nice feature in TextMate is the automatic update of a dragged
folder inside the project drawer. But when you work with latex
projects and compile your document you'll get some help files, such
as aux, toc, lof, lot and so on. For this reason it would be nice to
have some kind of filter which is applicable for hiding certain
extensions when the folder is rescanned.
Would this be possible...?
Christian
Is there some way to control the appearance of the spinning progress
indicator on the HTML output pages? Some CSS, maybe? I'm writing a
command using the standard themes given by webpreview.rb, but the spinner
is practically invisible. I don't want to turn it off (I know about
TextMate.isBusy) or make any drastic changes, just change the color.
--
Steve King, <steve(a)narbat.com>
Hi all, I'm a Textmate newcomer. I'm using it to write my dissertation
in Latex. I ditched TexShop and I really love Textmate. I've watched
the video tutorial, read the documentation and have everything setup
and working. I have a master file and the compilation works
flawlessly.
The one thing I haven't been able to use is the \ref{} and \cite{}
completion. I have a bib file linked to the master file and my
bibliography shows fine when I compile the document. I just can't get
completion to work. Same thing with \ref{}, I added colon (:) to the
set of word characters but nothing. When I'm in a \ref{} or \cite{}
and press escape, nothing happens, I press option-escape and nothing
happens. Type the first few letters and press escape, nothing. If I'm
outside of \ref{} or \cite{} and type eq: and then escape I DO get
completion to work but not if I'm inside of the {}!!!!
If I'm anywhere outside an {} and press option-escape I get:
Label based on current word.. 1
Citation based on current work... 2
but if I choose either I get a crosshair pointer, what is this for?
I'm running Textmate version 1.5.4 (1360) and both the Lattex bundle
and support folder are the latest from SVN. Mac os X 10.4.8.
Thanks for your help,
Andres
--
Andres Gonzalez-Mancera
Biofluid Mechanics Lab
Department of Mechanical Engineering
University of Maryland, Baltimore County
andres.gonzalez(a)umbc.edu
410-455-3347