[TxMt] Keyboard shortcuts / Services
Allan Odgaard
throw-away-1 at macromates.com
Thu Apr 6 15:27:22 UTC 2006
On 6/4/2006, at 17:14, Daniel Käsmayr wrote:
> I have just found the following commands in the "Text" menu:
> "shift left" apple-[
> "indent line" apple-opt-[
>
> I am wondering how I can get to these commands on my german
> keyboard i.e. I already need to press alt-5 to get [ -- hence no
> chance to additionally modify any of those commands with alt. Is
> there any way to change the shortcuts?
http://macromates.com/textmate/manual/
working_with_text#increase_decrease_indent_level
In the Text menu there is a Shift Left and Shift Right action bound
to ⌘[ and ⌘]. These will increase and decrease the indent by one
tab size.
On many european key layouts these keys are rather awkward, so in
addition to these, you can also use ⌥⇥ and ⌥⇤ (where ⇤ is
achieved using ⇧⇥).
> Also for some reason I cannot use apple-{ (nothing happens, even
> though I should at least get a service to enter the current date).
> Apple-} works as intended (i.e. as a shortcut for a LaTeX command
> and when I am not in a LaTeX-file it just enters the current date
> [from WordService.service]).
I have heard this from either Swedish or German users. It works on
the Danish keymap, but not on either the Swedish or German -- likely
because some global system command is bound to the key (grab screen
or so).
Personally I use the US keymap (even though I do write in Danish),
because most european keymaps are simply not made for programmers.
> Is there a way to enable/disable certain Services in special apps
> only? (What is the keyboard shortcut preference / domination order?)
You can go to System Preferences -> Keyboard and Mouse and add an
application specific setting which change the key equivalent of the
service.
Services normally have lowest priority with respect to resolving keys.
More information about the textmate
mailing list