Backslash cannot be inserted in Sublime Text 3

I am using Sublime Text 3 for Windows with a German keyboard. A backslash is \assigned alt gr + ß, but this key binding does not work properly. (The cursor increases by several lines.)

Since it is alt grequivalent ctrl+alton Windows, I added the following line to sublime-keymap.

{ "keys": ["ctrl+alt+ß"], "command": "insert", "args": {"characters": "\\"} }

But that doesn't work either.

Can I appoint \ alt gr+ß?

Note:

  • "keys": ["ctrl+alt+0"](instead "keys": ["ctrl+alt+ß"]). But I want to use "alt gr + ß" for the backslash.
  • "keys": ["ctrl+alt+\u00DF"] does not work.
+4
source share
1 answer

The following settings work fine!

In PreferencesKey Bindings

{ "keys": ["ctrl+alt+["], "command": "insert", "args": {"characters": "\\"} }
+3
source

Source: https://habr.com/ru/post/1683012/


All Articles