mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-29 00:58:36 +01:00
meta: Add keystrings
This makes it easier to edit in a tty if we need to do so.
This commit is contained in:
parent
b9e7e0a8b1
commit
b699e2b784
2
keystrings/.keystrings
Normal file
2
keystrings/.keystrings
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
keycode 1 = Caps_Lock
|
||||||
|
keycode 58 = Escape
|
21
keystrings/README.md
Normal file
21
keystrings/README.md
Normal 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
|
Loading…
Reference in New Issue
Block a user