Sublime Forum

ST3 3069 keymapping broken on Windows?

#1

On a Windows 8.1 system when I type Ctrl+` I get an incorrect response. Should show the console, but instead does something else.

I opened the console and turned on key logging via:

sublime.log_input(True)

I find that ctrl+(ctrl+backtick) actually gets logged as ctrl+\ (ctrl+backslash). After some playing around I found that ctrl+' (ctrl+singlequote) gets logged as ctrl+ (ctrl+backtick).

Unmodified backtick and singlequote keys are logged correctly. It is only when modified with ctrl that the key mapping is incorrect.

Is anyone else seeing this problem?

(Note: I don’t see this on my OS X system, only on my Win8.1 system. And I wrote a quick C# program to check the native keymapping of the system, and I find it has the correct mapping for backtick – modified with ctrl or not. So I don’t think the problem is in the machine or the operating system; I think it is an application problem with ST3.)

0 Likes

#2

Did you switch keyboard language/layout without knowing? I have US and Canadian French : the US layout has no problem with the show_console shortcut, but the CAN-FR does.

So maybe you just have your US keyboard set to CAN-FR.

0 Likes

#3

Ah, good thought. Perhaps it is a keyboard problem. I don’t see the issue on “native” windows 8.1, but I do see it on my Parallels VM. The keyboard on the VM is called ‘United States (Apple) - Parallels’; the one on the native Win 8.1 system is called “English (United States)”. Both machines seem to be producing the same keycodes (per my C# test program), but clearly the effect of those codes differs on the two systems.

Now I’m thinking this is probably a Parallels defect, not an issue with ST3.

0 Likes

#4

I have an issue where ctrl+` does not work properly on Yosemite (and Mavericks) when using ST inside of a Windows VM with VMWare Fusion. Never did figure it out, I just set console to open via ctrl+1.

0 Likes

#5

@wbond. Did you try Ctrl+’ ? Ctrl+` has never worked for me in Windows; for some reason it’s always been Ctrl+’ (apostrophe). Give it a try :smile:

0 Likes