|Return to how_to_swap_cap_lock_with_escape.mdwn CVS log||Up to [NetBSD Developer Wiki] / wikisrc / tutorials|
1: # Esc <-> Caps 2: 3: The original Unix terminals (or at least the one vi(1) written on) had the esc key somewhere around the tab on PC keyboards. This makes sense if you think about vi's commands. 4: 5: Well, we need tab, but most of us don't use the caps key, so we can just swap them right away. 6: 7: You can add the following to your `~/.xinitrc` file, or run as a command: 8: 9: setxkbmap -option "caps:swapescape"