I've seen this answer, but on my Italian keyboard I've got < between Z and Left Shift instead of the ~. So, how can I type it?
Option ⌥ + 5
You can show the keyboard viewer from the input menu if it's enabled.
With the italian keyboard you can use alt + 5
Alt Ñ on Spanish keyboard. Hope this works.
Using an Italian Keyboard.
The option + N will Also give you a Small Tilde
˜ as apposed to
I have a Spanish keyboard. Alt+Ñ works just fine.It gives you this ~. If you press that combination, it gives you the tilde highlighted in yellow. This means that if you press a valid letter just after the tilde, it will place it over that letter. If it is not valid, it just leaves the tilde as it is and writes the letter you pressed. If you press space after the tilde, it will leave it as it is, like this ~. Hope this helped :)
I struggled a lot about writing accents and special characters in macOS with an Italian keyboard. The most comfortable way to do them is to hold option + press a key.
Specifically, for tilde, as mention above is Option + 5 (try other keys also, you'll be used to it in a while).
There are other special combinations for accents which are:
- option + N and a letter for ñ
- option + U and a letter for ü
- option + 8 and a letter for ú
- option + 9 and a letter for ù
- option + ì and a letter for ô
Correct combination on an italian keyboard is alt+5
In System Preferences/Keyboard/Input Soruces, press alt and it will show what each key does.
It is left Alt + ^ which will give you tilda sign over Swedish Mac keyboard.