I have done quite a lot of research on how to swap the Escape and Caps Lock keys.
I achieved it while using X11 via my .xinitrc file and the following line of code:
setxkbdmap -option caps:swapescape
However, when I start a tty, it doesn't work. How can I get this to work while using a tty? Is it possible to use some kind of global option, like a custom keyboard layout that does not depend on X11?
I'm using Arch Linux, if that helps.