Sublime Forum

Something intercepting AltGr+u

#1

Hi,

to get German umlauts I’m using a personal windows keyboard layout where I get the umlauts when typing AltGr+a, AltGr+o, AltGr+u.

Everything’s fine except AltGr+u. Something seems to intercept these keystrokes.
I can add another binding like
{ “keys”: “ctrl+alt+u”], “command”: “prompt_open_file” }
So AltGr+u opens up the fileselector.

But I cannot disable the default with
{ “keys”: “ctrl+alt+u”], “command”: “unbound” }

Any idea how I get my ü back? (AltGr+shift+u works! But AltGr+u backspace ctrl+k ctrl+l isn’t very nice :wink: )

TIA,
Jerry

0 Likes

#2

{ “keys”: “ctrl+alt+u”], “command”: “insert_snippet”, “args”: {“contents”: “ü”}}
does what I need.

But I’ve got still the question: Which function do I overwrite with this setting and is there a more elegant way?

0 Likes

#3

To see what command is executed, enter the following in the python console:

sublime.log_commands(True)

I don’t think there’s a better way to solve the issue.

0 Likes

#4

With default settings nothing is executed.
With { “keys”: “ctrl+alt+u”], “command”: “unbound” } unbound is executed.

Strange.

But my solution helps me. That’s fine. :smiley:

0 Likes

#5

I had issues with ctrl+u not working when Emmet was installed.

0 Likes