MacOS – How to map a MacBook keyboard to write different characters


I have a MacBook computer with Japanese keyboard.

The only realistic way to use the keyboard is to change the input source to either British or Australian. So I changed it to Australian.

On doing so, I cannot write some characters I need on a daily basis. An example would be backtick (`) or tilde (~).

There is an option in Settings to replace the text with some other text. So I replaced OptionN with "~".

But the thing is it only works with some default Apple apps. I cannot use it on any text editor (and not even Terminal). Is there is any fix for this?

Best Answer

An alternative is to use a text replacement or text expander. I’m guessing you used a “Keyboard Shortcut” to assign OptionN as the tilde.

However, this statement is key to the problem you’re experiencing:

But the thing is it only works with some default Apple apps

The built in text replacement only works with Cocoa based apps. For instance, it works in Pages, but not in Microsoft Word. The way around it is to use a 3rd party text expander.

  • TextExpander is the market leader and works really well, but it’s very expensive at $40USD /year subscription.

  • aText isn’t as fancy but works exceptionally well (I personally use this) and is priced at only $5USD; one time purchase.

The way they work is you can type a shortcut and it will replace it with the text you’ve defined for that shortcut. For example you can create a shortcut called “tildesymbol” (too long for practical use, but it’s just an example and it will replace it with “~”. I use it for my email addresses. I assigned @1 to my primary address, @2 to my personal I only give to family and close friends and @3 is my “spam” address that I use when having to “register” for accounts.

This is completely different than switching inputs, but it may give you an alternate way of getting the symbols you need without having to remap keys or remember unicode shortcuts.