This is an AHK implementation of the full selection of special characters, symbols, and dead keys accented characters that are available on the standard US Apple keyboard using Option or Option+Shift. Uses the AHK Unicode method, which works even with applications like Notepad that fail with the Alt Code character entry method.
The Option key scheme will interfere with Alt and Alt+Shift shortcuts while active, so it is disabled by default when the AHK script is loaded. It can be enabled and disabled again with Shift+Option+Command+O (the letter "o"), or by using the new tray menu item. The tray menu item will receive a check mark when the scheme is active.
Alert messages are presented to the user on enable and disable. The enable MsgBox warns about the conflict and reminds the user how to disable the scheme.
Known issues:
Typing Option+L will work, but will also lock the screen since the keys are Win+L. This can only be disabled in the registry, which will completely disable the ability to lock the screen. There's no known better solution.
The Apple logo (Shift+Option+K) exists only in the Baskerville Old Face font, and the related shortcut will display a MsgBox explaining how to make it display properly.
All other characters work without known issues.
Documentation of all the included characters (137 different characters, if my math is right) that can be typed when this scheme is enabled is here:
https://github.com/RedBearAK/optspecialchars/blob/main/Option-key-characters.md
This PR replaces and enhances the Umlaut function submitted by user Kirschem in PR #647.
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.
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.
As much as I enjoy the convenience of the Cmd+D (Duplicate file/folder) shortcut, I have reluctantly made the decision that for most users it would be best to disable it by default, since it conflicts with the inherited function of "Add Bookmark" that Linux file managers like Nautilus have started using in parity with web browsers. Just one more thing that makes it easier to slide between web browsers and file "browsers".
It's fun but has never been a "necessary" shortcut since a quick Cmd+C/Cmd+V will always accomplish the same thing. No one but me should miss it being active, and it will no longer interfere by default with bookmarking locations in Nautilus or any other file manager with that function assigned to Cmd+D (Ctrl+D).
Anyone who really wants it can re-enable it.
Cmd+Shift+Braces (in addition to the already existing remap of Opt+Cmd+Left/Right) is a verified working alternate shortcut for tab (view) navigation in VSCodium on macOS.
While Cmd+Braces advances and retracts the indent/tabbing level, these Cmd+Shift+Braces shortcuts (physical Ctrl+Shift+Braces on PC keyboard) appear to do nothing in the Linux version of VSCode without this remap.
Enabling this will bring the Cmd+Shift+Braces tab navigation behavior in the "codes" apps in line with the same behavior in macOS for web browser tabs, terminal tabs and file manager tabs.