From bf11fb0f9ea1cd6c96170a7bc103611265df95b5 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 12 Mar 2017 19:23:02 -0400 Subject: Add custom keymap for console TIL the console has compose key. --- README.md | 1 + custom.map | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 custom.map 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 -- cgit 1.4.1