Removes any ambiguity because Key.*META is NOT Alt, it's (according to our own mapping!) Super.
Long-term `M` should probably go away (to further remove ambiguity or be replaced with META.
Context: https://github.com/mooz/xkeysnail/issues/158
Changes implemented here:
- Tab navigation shortcut (Cmd+Shift+Braces) that has worked in multiple macOS applications with tabbed interfaces.
- Tab navigation shortcut (Cmd+Shift+Arrows) that also works in Apple's Terminal.app.
- Wordwise delete word/line shortcuts, to override a conflict with GUI app wordwise shortcuts.
- Move tab nav for Deepin Terminal into a more general override block that also supports GNOME Console and other apps that use Ctrl+Shift+Tab/Ctrl+Tab instead of Ctrl+PgUp/PgDn.
Some overrides necessary for Deepin Terminal.
- Tab nav
- Zoom/font size controls
- Tab close shortcut remap to avoid closing all other tabs instead of current tab
This should enable page nav (back/forward in page history) with Cmd+Braces in Chrome-based web browsers.
Also fixes the inability to quit Chrome-based browsers with Cmd+Q.
As mentioned in issue #651, this works for me, but if it isn't in the best location in the file just move it or do your own commit and then close this, or let me know if you've merged the code separately so I can close this.
Working shortcuts in this PR to get Windows File Explorer (explorer.exe) to behave more like macOS Finder:
- Get Info (Cmd+i)
- View mode shortcuts (Cmd+1/2/3/4)
- Nav with arrows, including code that stops Explorer opening new windows for Cmd+Down on folders
- Nav with braces (prior/next in history)
- Open in New Window (Cmd+Shift+o)
- Safer delete shortcuts, with error beeps for Backspace or Delete used without Cmd key
- Enter key to rename like Finder (without blocking other usage of Enter key)
Code passes Enter, Backspace and Delete keys when focus is in editable text input fields (and passes Enter key in sidebar for navigation).
This just enables the Cmd+Braces (brackets?) page navigation for Windows web browsers. And adds some comments on the tab navigation lines.
Only the page navigation lines are actually new.
The CutefishOS apps seem to have somewhat limited support for keyboard shortcuts in general, but what they do support is working as expected after adding their WM_CLASSes to the config file.