http://superuser.com/questions/29011...eymap-in-linux
http://askubuntu.com/questions/15738...nd-line-system
I swap Caps_Lock and Escape for editing with vim, and although easy to do in X, I never figured out how to swap the keys in console terminals.
The above links to a nice method to reassign keymaps so that the caps and esc keys are swapped.
Code:
keycode 58 = Escape Escape Escape
keycode 1 =
...