Search code examples
intellij-ideaterminalgit-bash

Intellij git bash terminal tilde key


I set git-bash for windows as default terminal in Intellij IDEA. It works but I am unable to write tilde (~) character there (Shift+~). Tried changing different options in settings but without any luck.

versions: Windows 10
Intellij IDEA 2017.2.5
git version 2.14.2.windows.3
path to shell: "C:\Program Files (x86)\Git\bin\sh.exe" --login -i

Does anyone had similar problem and know the solution?

It is really annoying when I have to copy this character or work in seperate terminal in situation where direct view on code is preferable.


Solution

  • Not really a solution, but probably a more convenient workaround: you can use ALT + 126 to print tilde character.

    (while keep press Alt, on your keyboard type the number 126).