I am using my Mac to write Java code in Eclipse. Not frequently, but commonly enough I need special characters such as ^, ~ or `. The problem with these is that I have to press the key(-combination) followed by a space in order to insert the character, since these keys are used to create special characters such as ã or è. However, this is really impractical since I can't use them in Java anyway.

Is there a way to disable this feature globally on OS X Yosemite (german keyboard layout)?

  • So, for example, you want option + n to produce tilde right away without a space being required? Mar 1, 2015 at 16:04
  • Exactly. Pressing Option+n generates an 'underlined' tilde character, and pressing another key such as 'a' replaces the underlined tilde with 'ã'.
    – Clashsoft
    Mar 1, 2015 at 16:06
  • I don't know any way to disable that except by creating a custom keyboard layout. The apps for that are Ukelele and Karabiner. You could do text replacement entries in system prefs/keyboard/text, but that would normally still require an extra space. Mar 1, 2015 at 18:27

1 Answer 1


You just need to change input source. Probably you have U.S. International, just change it U.S. and this ugly feature will disappear.

  • Hi, welcome to Ask Different. Thanks your for answer, but the OP states in the question that the keyboard layout is German.
    – jaume
    Jun 30, 2020 at 10:18
  • 1
    Simply switching to US -- not to be confused with the US International -- keyboard layout fixes this for me. My physical keyboard is also German but I've always used the US layout for programming. Oct 12, 2022 at 9:00
  • thanks man, I just switched to the "US" input source and the problem seems fixed now. I had selected "US International" before and the problem was persisting and I was losing some brain cells over it.
    – Altin
    Jan 23 at 19:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .