From df2930095399030af493ad5aec232ed85076a4a6 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 21 Jul 2022 09:57:50 +0800 Subject: Update --- alias | 2 +- misc/keymap | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++- misc/vconsole.conf | 2 ++ 3 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 misc/vconsole.conf diff --git a/alias b/alias index e50aca1..1cda6e4 100644 --- a/alias +++ b/alias @@ -29,7 +29,7 @@ vs() { which $1 && vim $(which $1); } # ssh alias cdssh='cd ~/.ssh' -alias ptt='ssh bbsu@ptt.cc' +alias ptt='ssh ptt' alias sshv='ssh -t vps' ssh.tar() { prompt "tar cf - foo | ssh vps 'cd ~/Downloads; tar xf -' \nssh vps 'tar czf - --directory=/working/path target' | tar xvzf -" diff --git a/misc/keymap b/misc/keymap index 82d1db5..1534652 100644 --- a/misc/keymap +++ b/misc/keymap @@ -1 +1,54 @@ -keycode 58 = Control +# us.map +keymaps 0-2,4-6,8-9,12 +alt_is_meta +include "qwerty-layout" +include "linux-with-alt-and-altgr" +include "compose.latin1" +include "euro1.map" +strings as usual + +keycode 1 = Escape +keycode 2 = one exclam +keycode 3 = two at at nul nul +keycode 4 = three numbersign + control keycode 4 = Escape +keycode 5 = four dollar dollar Control_backslash +keycode 6 = five percent + control keycode 6 = Control_bracketright +keycode 7 = six asciicircum + control keycode 7 = Control_asciicircum +keycode 8 = seven ampersand braceleft Control_underscore +keycode 9 = eight asterisk bracketleft Delete +keycode 10 = nine parenleft bracketright +keycode 11 = zero parenright braceright +keycode 12 = minus underscore backslash Control_underscore Control_underscore +keycode 13 = equal plus +keycode 14 = Delete +keycode 15 = Tab + shift keycode 15 = Meta_Tab +keycode 26 = bracketleft braceleft + control keycode 26 = Escape +keycode 27 = bracketright braceright asciitilde Control_bracketright +keycode 28 = Return + alt keycode 28 = Meta_Control_m +keycode 29 = Control +keycode 39 = semicolon colon +keycode 40 = apostrophe quotedbl + control keycode 40 = Control_g +keycode 41 = grave asciitilde + control keycode 41 = nul +keycode 42 = Shift +keycode 43 = backslash bar + control keycode 43 = Control_backslash +keycode 51 = comma less +keycode 52 = period greater +keycode 53 = slash question + control keycode 53 = Control_underscore + control shift keycode 53 = Delete +keycode 54 = Shift +keycode 56 = Alt +keycode 57 = space + control keycode 57 = nul +keycode 58 = Control +keycode 86 = less greater bar +keycode 97 = Control diff --git a/misc/vconsole.conf b/misc/vconsole.conf new file mode 100644 index 0000000..cc8f224 --- /dev/null +++ b/misc/vconsole.conf @@ -0,0 +1,2 @@ +KEYMAP=/home/pham/helper/misc/keymap +FONT=ter-218b -- cgit v1.2.3-70-g09d2