meta: Add keystrings

This makes it easier to edit in a tty if we need to do so.
This commit is contained in:
Donovan Glover 2022-03-25 09:58:50 -04:00
parent b9e7e0a8b1
commit b699e2b784
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 23 additions and 0 deletions

2
keystrings/.keystrings Normal file
View File

@ -0,0 +1,2 @@
keycode 1 = Caps_Lock
keycode 58 = Escape

21
keystrings/README.md Normal file
View File

@ -0,0 +1,21 @@
# keystrings
[keystrings][keystrings] is a configuration file for the console.
## Use Cases
keystrings can be used to:
- Make caps lock function as escape in ttys
You should not use keystrings if:
- You aren't editing in virtual consoles
## Usage
```shell
sudo loadkeys ~/.keystrings
```
[keystrings]: https://unix.stackexchange.com/questions/266817/how-to-reverse-esc-and-caps-lock-on-tty