Shortcuts using the Meta key in Windows do not work
See original GitHub issueIssue Report Checklist
- Fix
start of line
shortcut - Fix
previous char
shortcut - Fix
kill previous word
shortcut - Fix
kill next word
shortcut - Fix
end of line
shortcut - Fix
next char
shortcut - Fix
kill to line end
shortcut - Fix
next line
shortcut - Fix
previous line
shortcut - Fix
rotate kill ring
shortcut - Fix
kill to line start
shortcut - Fix
yank
shortcut - Fix
Next word
shortcut (fixed in PR #7874) - Fix
Previous Word
shortcut (fixed in PR #7874)
Problem Description
As mentioned in https://github.com/spyder-ide/spyder/pull/7768#issuecomment-416251033, using the Meta
key is not a valid key sequence for shortcuts in Windows 10.
The event associated with the key sequence is intercepted by Windows and is never sent to Spyder. So to my knowledge, there is not much we can do about this…
Unfortunately, in Spyder, 14 shortcuts use the Meta
key by default in their key sequence. This means that, 14 shortcuts are not usable by default in Spyder.
I think that we need to re-define other key sequences for these shortcuts and avoid using the Meta
key at all cost.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:8 (7 by maintainers)
Top Results From Across the Web
meta key shortcuts don't work? - KDE-Forum
No idea, sounds like the key is dead? Try running "xev" (you'll likely have to install it) and press the key. ... If...
Read more >Xorg/udev: KDE keyboard shortcuts using Meta key don't work ...
However none of the KDE keyboard shortcuts that use the Meta key (windows key or command key on apple external keyboards) work anymore....
Read more >Windows key shortcuts stopped working - Super User
Quick check Win + Tab , Win + P , Win + L and Win + R - are they also not working?...
Read more >Unable to use Windows/Meta key as a modifier for shortcuts
The JDK does not recognize the Win key as a valid modifier for shortcuts. Apparently there is an option in Ubuntu advanced keyboard...
Read more >cannot configure keyboard shortcuts to use Meta modifier ...
accelKey) to 224 does not enable the "Meta" key for keyboard shortcuts, as expected. More detailed explanation follows: My keyboard layout has the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍 progress? To be completely honest, the only reason I want this addressed is for quick access to ‘Shortcuts Summary’ 😶
Thanks for your hard work!
This shortcut is hardcoded in
spyder.app.mainwindow.py
, so we need to change that there. This can be done for Spyder4. I still need to better understand how shortcuts work in macOS before I change this though.