summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-03-12 19:23:02 -0400
committerJune McEnroe <programble@gmail.com>2017-03-12 19:23:02 -0400
commitbf11fb0f9ea1cd6c96170a7bc103611265df95b5 (patch)
treee14702ef6a9df39901f9bcee819dee0b4868c420
parentFix OSTYPE check for ARM (diff)
downloadsrc-bf11fb0f9ea1cd6c96170a7bc103611265df95b5.tar.gz
src-bf11fb0f9ea1cd6c96170a7bc103611265df95b5.zip
Add custom keymap for console
TIL the console has compose key.
Diffstat (limited to '')
-rw-r--r--README.md1
-rw-r--r--custom.map19
2 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8b16e0af..6fd4a2ef 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@ Configuration files and utilities.
 - [Karabiner] ([Seil])
 - git
 - htop
+- keymap
 - [neovim]
 - gdb
 - gpg-agent
diff --git a/custom.map b/custom.map
new file mode 100644
index 00000000..de0b4064
--- /dev/null
+++ b/custom.map
@@ -0,0 +1,19 @@
+include "/usr/share/kbd/keymaps/i386/qwerty/us.map.gz"
+
+keycode 2 = exclam one
+keycode 3 = at two
+keycode 4 = numbersign three
+keycode 5 = dollar four
+keycode 6 = percent five
+keycode 7 = asciicircum six
+keycode 8 = ampersand seven
+keycode 9 = asterisk eight
+keycode 10 = parenleft nine
+keycode 11 = parenright zero
+keycode 12 = underscore minus
+keycode 26 = braceleft bracketleft
+keycode 27 = braceright bracketright
+keycode 43 = bar backslash
+
+keycode 100 = Compose
+keycode 125 = Escape