File:  [NetBSD Developer Wiki] / wikisrc / tutorials / how_to_swap_cap_lock_with_escape.mdwn
Revision 1.4: download - view: text, annotated - select for diffs
Mon Apr 8 21:48:41 2019 UTC (21 months, 1 week ago) by sevan
Branches: MAIN
CVS tags: HEAD

#  Esc <-> Caps 

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. 

Well, we need tab, but most of us don't use the caps key, so we can just swap them right away. 

You can add the following to your `~/.xinitrc` file, or run as a command: 
    setxkbmap -option "caps:swapescape"

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb