2
I am trying to bind ctrl+|
to Show Console
in Sublime Text 2 on a Norwegian keyboard using the following line in the (json?) configuration file:
{ "keys": ["ctrl+|"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
This doesn't work, and the pipe symbol also has a slightly darker tint than the rest of the configuration text, as if it is special.
I tried to escape it using "ctrl+\|"
and "ctrl+\\|"
none of which work. Binding it to something else like "ctrl+p"
works fine.
Any idea of how to bind functionality with the pipe-key? It's the top left key on the keyboard, left to the 1
key.
To add more clarity for people with Nordic keyboards, the File Separator character is protected in Sublime Text, which means you need to escape it with another File Separator.
So to use ctrl + "Key next to 1" on your Nordic keyboard you use:
{ "keys": ["ctrl+\\"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }
– kristang – 2017-05-16T11:28:37.643