![]() Think about it – you lose some keys you never really had a use for anyway except as media keys, and you get almost analogue-ish volume and brightness controls, apps can give you context-dependent options that are really discoverable (which F-keys totally aren't) and can adapt to your feature use patterns and be a lot richer than static bindings on 12 keys. These customisations have affect at least after logout/login.I guess the actual, underlying problem is, the Touchbar is bad UX for a bunch of software engineers, but pretty great for most everyone else. I decide use AutoHotkey to switch locales. The value 1 specifies that LEFT ALT+SHIFT switches locales. Of course I disabled layout switching to preserve Ctrl / Alt / Shift solely to Emacs with: Now my Windows keyboard workflow doesn't differ from X workflow. LWin key is actually Apps key and LWin moved to Caps Lock. So I made 2 swaps and with: CapsLock (3a,00) => LWin (5b,e0) LWin (5b,e0) => Apps (5d,e0) So I moved further and succeeded with: (when (eq window-system 'w32)īut my hands trained to work with LWin, and not with Caps Lock. ![]() In order to keep other modifiers without changes: Windows Registry Editor Version 5.00 There is Keyboard Scan Code Specification for PS/2 compatible keyboards.įirstly I try to use w32-scroll-lock-modifier: (setq w32-scroll-lock-modifier 'super) In article Keyboard and mouse class drivers it is mentioned that it is possible to adjust keyboard layout (for all user) playing with keycodes. Variable: Modifier to use for the Scroll Lock ON state. Variable: Modifier to use for the right "Windows" key. ![]() Variable: Modifier to use for the left "Windows" key. Variable: Modifier to use for the "Apps" key. There is a solution for my problem, that possible without any external dependencies!!Īccording to native Emacs can: w32-apps-modifier You could probably achieve something similar using AutoHotkey but I like kbdedit because it actually installs a new keyboard layout in Windows rather than intercepting messages. I achieved the key remapping using a €15 tool called kbedit. In the terminal, it functions as a sticky modifier bound to See my question at Making terminal Emacs treat APPS (aka MENU) key as super modifier for more details. This works well for emacs-w32, you get a genuine non-sticky modifier. Then I do the w32-apps-modifier thing to turn it into a hyper key as you are doing in your question. The approach I am taking is to turn CapsLock into Control, then turn the left Control key into Apps (because not all my keyboards have Apps). I dislike using the Windows key because it is actually useful when I am in Windows, and Windows steals an ever-increasing set of Win- keypresses at a low level which Emacs cannot intercept. Coming up with a decent hyper/super key binding which will work across all my keyboards is an ongoing search, especially given the widely varying laptop keyboard layouts.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |