Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTerm2 closing curly brace not working

in the last weeks I had the problem that in iTerm2 the closing curly brace is not working anymore. It works in all other applications (including Terminal), but iTerm2 is not showing the curly brace. The opening curly brace works.

I have got a German keyboard, so it should be ALT+9

I uninstalled the shell integration, because I thought this problem occurs since the installation of the integration, but no success so far.

Any ideas how to fix this issue?

like image 971
lehnerchristian Avatar asked Mar 27 '16 17:03

lehnerchristian


2 Answers

I had the same issue using iTerm2 3.1.6 and a German keyboard layout.

In my case, it was caused by the option To switch split planes: being set to ⌥ Number). This option can be found in Preferences > Keys > Navigation Shortcuts.

Any other setting for this option works as a workaround for the issue.

like image 63
stefan-girlich Avatar answered Sep 30 '22 11:09

stefan-girlich


For me it turns out the right ALT key works but not the left and it's because the left ALT key had a different setting.

You can change this by going to Preferences -> Profiles -> Keys and changing from Esc+ to Normal

enter image description here

like image 32
e.marten Avatar answered Sep 30 '22 11:09

e.marten