File:  [NetBSD Developer Wiki] / wikisrc / tutorials / x11 / how_to_swap_cap_lock_with_escape.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Wed Mar 31 06:59:10 2021 UTC (7 months, 4 weeks ago) by nia
Branches: MAIN
CVS tags: HEAD
move some things to the x11 category

    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"

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb