Dear folks,
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?
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]).
Is there a way to enable/disable certain Services in special apps only? (What is the keyboard shortcut preference / domination order?)
Daniel
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.
Allan,
thanks for the quick reply. The additional keyboard shortcuts are very helpful. How do you type the alt-Symbol, btw?
I know that switching to a different keyboard layout would work -- but as long as I don't have a keyboard with OLED/digital ink displays on each key I am not certain I would handle it as well ;)
As for services: I use [Service Scrubber](http://http:// www.macupdate.com/info.php/id/20192) to trim my services and change shortcuts. Apple's interface would work as well -- but somehow seems less appropriate for this case.
Dan
On 6/4/2006, at 17:39, Daniel Käsmayr wrote:
thanks for the quick reply. The additional keyboard shortcuts are very helpful. How do you type the alt-Symbol, btw?
The stuff was pasted from the manual. I have a HTML Glyphs bundle [1] which have snippets containing the entity of each of the various Apple function keys and modifiers, with a tab trigger bearing the name of the symbol.
So for the manual, these were written as the entity version. It would however be possible, after inserting the entities in TM to press cmd- & and select “Decode Entities in Line”, that would convert them to the actual characters (useful for pasting, but beware of the screwed up spacing).
I know that switching to a different keyboard layout would work -- but as long as I don't have a keyboard with OLED/digital ink displays on each key I am not certain I would handle it as well ;)
Seems you just need to learn blind-typing :)
As for services: I use [Service Scrubber](http://http:// www.macupdate.com/info.php/id/20192) to trim my services and change shortcuts. Apple's interface would work as well -- but somehow seems less appropriate for this case.
Yes, Apple’s interface is cumbersome. But it does allow a per-app setting, which the other can’t do.
hi daniel.
Am 06.04.2006 um 17:39 schrieb Daniel Käsmayr:
thanks for the quick reply. The additional keyboard shortcuts are very helpful. How do you type the alt-Symbol, btw?
it's command-option-5 and command-option-6 on the german keyboard. works for me.
option = alt = "die taste mit dem 'weiche'-symbol und dem wort 'alt' drauf" = "die taste zwischen CTRL und COMMAND"
niko.
On 6/4/2006, at 18:08, Niko Dittmann wrote:
Am 06.04.2006 um 17:39 schrieb Daniel Käsmayr:
thanks for the quick reply. The additional keyboard shortcuts are very helpful. How do you type the alt-Symbol, btw?
it's command-option-5 and command-option-6 on the german keyboard. works for me.
option = alt = "die taste mit dem 'weiche'-symbol und dem wort 'alt' drauf" = "die taste zwischen CTRL und COMMAND"
On http://www.apple.com/macosx/bootcamp/ Apple writes:
[...] hold down the option key at startup to choose between Mac OS X and Windows. (That’s the “alt” key for you longtime Windows users.)
I’d say it’s not that good a comment, considering that all european users have “alt” printed on the modifier key that apparently only “longtime Windows users” refer to as the “alt” key.
Allan,
just wondering: how are you writing your mails? Just in mail.app or in txtmate? You are using typographic “” instead of "" -- any automatism there? And any idea how to get the correct German versions of these: „“?
Dan
On 6/4/2006, at 18:47, Daniel Käsmayr wrote:
just wondering: how are you writing your mails? Just in mail.app or in txtmate?
I write mostly in Mail. Only if I need to format text (like indented quotes) or when I have to use snippets (for all my canned support replies ;) ) do I switch to TextMate.
You are using typographic “” instead of "" -- any automatism there?
No, I just started using them, and now I can’t stop…
And any idea how to get the correct German versions of these: „“?
If you want to have something like SmartyPants.pl then you can just modify the script, or maybe more elegant, just add this to the command: |perl -pe 's/“/„/g; s/”/“/g'
That way, SmartyPants.pl will stay untouched and will do the job of finding where to insert quotes. Oh… SmartyPants.pl inserts entities instead of actual characters, so the subst. above would be on these.
On 06.04.2006, at 18:47, Daniel Käsmayr wrote:
Allan,
just wondering: how are you writing your mails? Just in mail.app or in txtmate? You are using typographic “” instead of "" -- any automatism there? And any idea how to get the correct German versions of these: „“?
Hey Dan,
on the US keymap “ is ⌥-{ and ” is ⌥-⇧-}, … is ⌥-; also.
On the german one ⌥-2 and ⌥-⇧-2 does that (⌥-⇧-w for „ or ⌥-[key under escape]). (Using Keyboard Viewer from the input menu here.)
Soryu.
On Apr 6, 2006, at 8:14 AM, Daniel Käsmayr wrote:
I have just found the following commands in the "Text" menu: "shift left" apple-[ "indent line" apple-opt-[
I know what Shift Left does, but what about Indent Line? Choosing this command just make my Mac beep at me, and I can't find anything about Indent Line in the manual.
Trevor
On 6/4/2006, at 21:36, Trevor Harmon wrote:
I have just found the following commands in the "Text" menu: "shift left" apple-[ "indent line" apple-opt-[
I know what Shift Left does, but what about Indent Line? Choosing this command just make my Mac beep at me, and I can't find anything about Indent Line in the manual.
This is the manual entry: http://macromates.com/textmate/manual/ working_with_text#re_indent_text
Not sure why it beeps. Check Console for potential errors. Also try it with a selection (but it works fine for lines as well).
On Apr 6, 2006, at 12:45 PM, Allan Odgaard wrote:
This is the manual entry: http://macromates.com/textmate/manual/ working_with_text#re_indent_text
Ah, I missed that because I was searching for "Indent Line" not "Indent Selection".
Not sure why it beeps. Check Console for potential errors. Also try it with a selection (but it works fine for lines as well).
D'oh! I was hitting Option+Command+]
Homer
P.S. Right-bracket seemed so much more intuitive to me since I'm usually indenting to the right, not the left.