Hi,
I need to type special characters (ä, ü, ö, ß) quite often. Normally on MacOS applications this is done by press-and-hold a key and then select the special character. For applications where this gets in the way (e.g. MacVim) this can be disabled.
TextMate 2 seems to have this feature disabled by default. I can't figure out how to enable it. The command 'defaults write com.macromates.TextMate.preview ApplePressAndHoldEnabled -bool true' does not work.
Any tips?
I'm using TextMate 2.0-beta.6.3 on MacOS 10.10.1.
Best regards, Markus
I need to type special characters (ä, ü, ö, ß) quite often. Normally on MacOS applications this is done by press-and-hold a key and then select the special character. For applications where this gets in the way (e.g. MacVim) this can be disabled.
TextMate 2 seems to have this feature disabled by default. I can't figure out how to enable it. The command 'defaults write com.macromates.TextMate.preview ApplePressAndHoldEnabled -bool true' does not work.
I assume you are on an english keyboard layout? If so, you might want to consider to activate the "U.S. International - PC" keyboard as input source for OSX. You can write ä,ö,ü as " followed by a/o/e (other accented letters can be created in a similar way) and ß is simply alt+s. Works very smooth and fast for me, I could never go back to a german keyboard layout.
/Carsten
Press and Hold is far more useful than that and should not be difficult to get working (change of protocol from NSTextInput to NSTextInputClient) It is very useful for every kind of Unicode character e.g. When writing Hindi, German, English or any other combination languages or Unicode characters. Also implementing modern OS X features should be done to maintain consistency with other parts of the OS.
Sent from my iPad
On 23.11.2014, at 15:00, Carsten Hoever hoever@gmx.de wrote:
I need to type special characters (ä, ü, ö, ß) quite often. Normally on MacOS applications this is done by press-and-hold a key and then select the special character. For applications where this gets in the way (e.g. MacVim) this can be disabled.
TextMate 2 seems to have this feature disabled by default. I can't figure out how to enable it. The command 'defaults write com.macromates.TextMate.preview ApplePressAndHoldEnabled -bool true' does not work.
I assume you are on an english keyboard layout? If so, you might want to consider to activate the "U.S. International - PC" keyboard as input source for OSX. You can write ä,ö,ü as " followed by a/o/e (other accented letters can be created in a similar way) and ß is simply alt+s. Works very smooth and fast for me, I could never go back to a german keyboard layout.
/Carsten
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I assume you are on an english keyboard layout? If so, you might want to consider to activate the "U.S. International - PC" keyboard as input source for OSX. You can write ä,ö,ü as " followed by a/o/e (other accented letters can be created in a similar way) and ß is simply alt+s. Works very smooth and fast for me, I could never go back to a german keyboard layout.
Press and Hold is far more useful than that and should not be difficult to get working (change of protocol from NSTextInput to NSTextInputClient)
I strongly disagree, at least if your set of special characters is limited. Both methods need you to do two keyboard actions (accent+letter for US International method, base letter+number for special letter in the press and hold method), but press and hold involves a disturbing time delay. I am much faster with the accent+letter method. For seldom used special characters where one is not sure about the right accent/modifier key the press and hold method is superior, though. The good thing: press and hold also works with the US Intl. keyboard, so you can get the best of both worlds.
/Carsten
You can change the delay for press and hold by changing the key repeat values in system preferences, i got like no delay at all ;-p much faster to type ā ū ë plus you can alter the text that these methods input e.g. you can change press and hold of e to give you a selection of e-mail addresses or other e like symbols e.g. ℰ (can be done manually or with ukulele i think). key repeat itself is useless aaaaaaaaaa should be typed manually or via some editor command like vim/emacs do it e.g. <C-o>8ia<Esc> though i don’t know whether TextMate 2 has an equivalent to that. Not having press and hold forces the user to unnecessarily search for an alternative even though a feature which is consistent (or should be) throughout the OS already exists. The method “a is far more annoying than a delay would ever be especially if you type lots of german or other foreign Text. For example on a german keyboard typing “a is a really bad shortcut since one has to press two keys for the “ alone (⇧ + 2 not a nice shortcut for any hand) plus the letter a itself so overall 3 keys where two keys are hand breaking ;-p.
On 23 Nov 2014, at 17:22, Carsten Hoever hoever@gmx.de wrote:
I assume you are on an english keyboard layout? If so, you might want to consider to activate the "U.S. International - PC" keyboard as input source for OSX. You can write ä,ö,ü as " followed by a/o/e (other accented letters can be created in a similar way) and ß is simply alt+s. Works very smooth and fast for me, I could never go back to a german keyboard layout.
Press and Hold is far more useful than that and should not be difficult to get working (change of protocol from NSTextInput to NSTextInputClient)
I strongly disagree, at least if your set of special characters is limited. Both methods need you to do two keyboard actions (accent+letter for US International method, base letter+number for special letter in the press and hold method), but press and hold involves a disturbing time delay. I am much faster with the accent+letter method. For seldom used special characters where one is not sure about the right accent/modifier key the press and hold method is superior, though. The good thing: press and hold also works with the US Intl. keyboard, so you can get the best of both worlds.
/Carsten
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I am in the sam boat. What I did years ago is use Ukelele*1 to create a "US-German" keyboard that makes äöü available on aou when holding option down. So option is basically my "German" modifier. This allows me to type much more fluent.
Gerd
*1: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele
On Nov 23, 2014, at 1:27 AM, Markus Banfi markus.banfi@gmail.com wrote:
Hi,
I need to type special characters (ä, ü, ö, ß) quite often. Normally on MacOS applications this is done by press-and-hold a key and then select the special character. For applications where this gets in the way (e.g. MacVim) this can be disabled.
TextMate 2 seems to have this feature disabled by default. I can't figure out how to enable it. The command 'defaults write com.macromates.TextMate.preview ApplePressAndHoldEnabled -bool true' does not work.
Any tips?
I'm using TextMate 2.0-beta.6.3 on MacOS 10.10.1.
Best regards, Markus
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 23 Nov 2014, at 14:27, Markus Banfi wrote:
[…] press-and-hold a key and then select the special character […] TextMate 2 seems to have this feature disabled by default. I can't figure out how to enable it.
I added support for this in beta 6.4.
It required a few changes related to input management so I will appreciate if users of CJK or other “advanced” input methods can test this build.
I didn’t test the dictionary (⌃⌘D) function on 10.7, there’s a small chance that it broke. Do let me know if this is the case.
On 29 nov. 2014, at 04:23, Allan Odgaard mailinglist@textmate.org wrote:
On 23 Nov 2014, at 14:27, Markus Banfi wrote:
[…] press-and-hold a key and then select the special character […] TextMate 2 seems to have this feature disabled by default. I can't figure out how to enable it.
I added support for this in beta 6.4.
It required a few changes related to input management so I will appreciate if users of CJK or other “advanced” input methods can test this build.
I did some simple tests on Yosemite 10.10.1 (14B25) and both the press-and-hold as well as the dictionary invocation work as expected
I didn’t test the dictionary (⌃⌘D) function on 10.7, there’s a small chance that it broke. Do let me know if this is the case.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Great. Thanks a lot for adding this.
On Sat, Nov 29, 2014 at 4:23 AM, Allan Odgaard mailinglist@textmate.org wrote:
On 23 Nov 2014, at 14:27, Markus Banfi wrote:
[…] press-and-hold a key and then select the special character […]
TextMate 2 seems to have this feature disabled by default. I can't figure out how to enable it.
I added support for this in beta 6.4.
It required a few changes related to input management so I will appreciate if users of CJK or other “advanced” input methods can test this build.
I didn’t test the dictionary (⌃⌘D) function on 10.7, there’s a small chance that it broke. Do let me know if this is the case.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate