ruebenramirez / blog

My blog
http://blog.ruebenramirez.com/
7 stars 0 forks source link

swapping capslock and escape #415

Open ruebenramirez opened 5 years ago

ruebenramirez commented 5 years ago

I've been using a new 2018 macbook pro for a few months now with mixed results. It's not all bad, but I have decided to get back to thinkpads and linux.

One ergonomic improvement I will be taking with me is replacing the caps-lock key with escape.

I found a simple way to update my .dotfiles to make this keyboard change through command line configuration: https://askubuntu.com/a/830343

setxkbmap -option caps:swapescape
ruebenramirez commented 5 years ago

had to use gnome-tweak-tool to swap caps lock and escape keys on ubuntu 18.10 gnome

ruebenramirez commented 4 years ago

swapping capslock and escape on windows

https://vim.fandom.com/wiki/Map_caps_lock_to_escape_in_Windows

For the current user (doesn't work in Windows 7 or 8 and 10): To map CapsLock to Escape, and ScrollLock to CapsLock, create file (for example) keys.reg containing:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,46,00,01,00,3a,00,00,00,00,00