3 ms·
I have swapped Caps Lock and Escape on my Linux personal laptop and I have grown used to it. So when I dual booted Windows on my machine, I used Powertoys[1] to
by ra1n 3y ago
I have swapped Caps Lock and Escape on my Linux personal laptop and I have grown used to it. So when I dual booted Windows on my machine, I used Powertoys[1] to achieve the same.
At work, I have no option to install Powertoys or Uncap[2] for that matter. AutoHotKey is the only way, but I'm unable to get it to work. I used this StackOverflow[3] answer, but with this, both Caps Lock and Escape send both of the keys. So I'm stuck occasionally messing up my Teams messages :)
[1]: https://github.com/microsoft/PowerToys https://github.com/microsoft/PowerToys
[2]: https://github.com/susam/uncap https://github.com/susam/uncap
[3]: https://stackoverflow.com/questions/38558376/how-to-map-caps-lock-to-esc-in-autohotkey https://stackoverflow.com/questions/38558376/how-to-map-caps...
- wellthisisgreat 3y agoCan’t give an AHK answer but what about Sharpkeys?
- sorz 3y agoDid you try scancode map registry[1]? I use it to swap Ctrl/CapsLock and it works well even with RDP softwares and run-as-admin apps which PowerToys couldn't handle. [1] https://superuser.com/questions/550679/where-can-i-find-windows-keyboard-scancode-registry-information https://superuser.com/questions/550679/where-can-i-find-wind...
- sbt567 3y agoKanata[0] is amazing. It support both Linux and Windows. But I'm yet to try it on windows because my majority work is on linux. [0] https://github.com/jtroo/kanata https://github.com/jtroo/kanata
- rgoulter 3y ago> I have swapped Caps Lock and Escape on my Linux personal laptop and I have grown used to it. I'd also suggest "home row modifier keys" (or "home row mods"). The idea is to have the key behave the same when tapped, but differently if held. (e.g. https://github.com/evilC/TapHoldManager https://github.com/evilC/TapHoldManager implements this for AHK) With home row modifiers, Shift/Ctrl/Win/Alt are put underneath fdsa (and jkl;). -- This reduces the need to use pinky fingers for these keys, & the fingers get to remain on home row more.
- nickjj 3y agoI've been using AHK to swap these keys for years, this script works (it's different than your linked StackOverflow answers): CapsLock::Esc Esc::CapsLock I wrote about a number of other AHK quick wins, such as launching programs with global hotkeys here: https://nickjanetakis.com/blog/remap-and-set-global-hotkeys-on-windows-10-with-auto-hotkey https://nickjanetakis.com/blog/remap-and-set-global-hotkeys-...
- hielke 3y agoI was stuck on the same struggles, but eventually managed to bodge something together: https://github.com/hwalinga/dotfiles/blob/master/CapsLockCtrlEscape.ahk https://github.com/hwalinga/dotfiles/blob/master/CapsLockCtr... It also implements the double feature functionality of CapsLock that now functions as Ctrl when pressed with another key, and just Esc when tapped.