vscode-emacs-mcx icon indicating copy to clipboard operation
vscode-emacs-mcx copied to clipboard

Control sequence is interrupted when switching modifier key

Open tjarvstrand opened this issue 4 years ago • 4 comments

Hi!

As a dvorak keyboard layout user I've gotten used to saving my files using C-X,CAPS-S (with CAPS set to mimic control). Unfortunately this currently doesn't work with this plugin as the control sequence gets interrupted when I let go of the control key and when I hit CAPS-S I get a search field popping up.

EDIT: This actually seems to work fine when using the physical control keys so it seems to have something to do with my remapping of the control key. Hitting CAPS-X, CAPS-S without releasing CAPS works as expected.

EDIT2: This is on Ubuntu/Linux

tjarvstrand avatar Jun 21 '21 09:06 tjarvstrand

I think I can't help because I'm not using dvorak and that remapping and can't reproduce the problem.

it seems to have something to do with my remapping of the control key. Hitting CAPS-X, CAPS-S without releasing CAPS works as expected.

I support this opinion. It looks like a problem about your environment or settings around the remapping.

whitphx avatar Jul 12 '21 13:07 whitphx

Pretty weird to close this IMHO. To do the remapping I use Xorg/XKB which is pretty much standard on Linux. I do believe that it would be desirable for this plugin to be able to handle that.

tjarvstrand avatar Jul 26 '21 09:07 tjarvstrand

OK I reopen this issue and will track it but I cannot work on this for now since I don't have that environment and then don't have troubles. I welcome pull requests!

whitphx avatar Jul 29 '21 16:07 whitphx

Thanks! I've actually tried to look into it but I'm not very familiar with node in general and much less VS Code extension development. So far I haven't been able to get set up the dev environment

tjarvstrand avatar Aug 08 '21 16:08 tjarvstrand