diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-21 09:57:50 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-21 09:57:50 +0800 |
commit | df2930095399030af493ad5aec232ed85076a4a6 (patch) | |
tree | d056fc36b6ee14cae3f0a6022caabcc875690c12 | |
parent | 6893a1ae1d9e60e786eb847c471e55597abe9c41 (diff) |
Update
-rw-r--r-- | alias | 2 | ||||
-rw-r--r-- | misc/keymap | 55 | ||||
-rw-r--r-- | misc/vconsole.conf | 2 |
3 files changed, 57 insertions, 2 deletions
@@ -29,7 +29,7 @@ vs() { which $1 && vim $(which $1); } | |||
29 | 29 | ||
30 | # ssh | 30 | # ssh |
31 | alias cdssh='cd ~/.ssh' | 31 | alias cdssh='cd ~/.ssh' |
32 | alias ptt='ssh bbsu@ptt.cc' | 32 | alias ptt='ssh ptt' |
33 | alias sshv='ssh -t vps' | 33 | alias sshv='ssh -t vps' |
34 | ssh.tar() { | 34 | ssh.tar() { |
35 | prompt "tar cf - foo | ssh vps 'cd ~/Downloads; tar xf -' \nssh vps 'tar czf - --directory=/working/path target' | tar xvzf -" | 35 | 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 @@ | |||
1 | keycode 58 = Control | 1 | # us.map |
2 | keymaps 0-2,4-6,8-9,12 | ||
3 | alt_is_meta | ||
4 | include "qwerty-layout" | ||
5 | include "linux-with-alt-and-altgr" | ||
6 | include "compose.latin1" | ||
7 | include "euro1.map" | ||
8 | strings as usual | ||
9 | |||
10 | keycode 1 = Escape | ||
11 | keycode 2 = one exclam | ||
12 | keycode 3 = two at at nul nul | ||
13 | keycode 4 = three numbersign | ||
14 | control keycode 4 = Escape | ||
15 | keycode 5 = four dollar dollar Control_backslash | ||
16 | keycode 6 = five percent | ||
17 | control keycode 6 = Control_bracketright | ||
18 | keycode 7 = six asciicircum | ||
19 | control keycode 7 = Control_asciicircum | ||
20 | keycode 8 = seven ampersand braceleft Control_underscore | ||
21 | keycode 9 = eight asterisk bracketleft Delete | ||
22 | keycode 10 = nine parenleft bracketright | ||
23 | keycode 11 = zero parenright braceright | ||
24 | keycode 12 = minus underscore backslash Control_underscore Control_underscore | ||
25 | keycode 13 = equal plus | ||
26 | keycode 14 = Delete | ||
27 | keycode 15 = Tab | ||
28 | shift keycode 15 = Meta_Tab | ||
29 | keycode 26 = bracketleft braceleft | ||
30 | control keycode 26 = Escape | ||
31 | keycode 27 = bracketright braceright asciitilde Control_bracketright | ||
32 | keycode 28 = Return | ||
33 | alt keycode 28 = Meta_Control_m | ||
34 | keycode 29 = Control | ||
35 | keycode 39 = semicolon colon | ||
36 | keycode 40 = apostrophe quotedbl | ||
37 | control keycode 40 = Control_g | ||
38 | keycode 41 = grave asciitilde | ||
39 | control keycode 41 = nul | ||
40 | keycode 42 = Shift | ||
41 | keycode 43 = backslash bar | ||
42 | control keycode 43 = Control_backslash | ||
43 | keycode 51 = comma less | ||
44 | keycode 52 = period greater | ||
45 | keycode 53 = slash question | ||
46 | control keycode 53 = Control_underscore | ||
47 | control shift keycode 53 = Delete | ||
48 | keycode 54 = Shift | ||
49 | keycode 56 = Alt | ||
50 | keycode 57 = space | ||
51 | control keycode 57 = nul | ||
52 | keycode 58 = Control | ||
53 | keycode 86 = less greater bar | ||
54 | 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 @@ | |||
1 | KEYMAP=/home/pham/helper/misc/keymap | ||
2 | FONT=ter-218b | ||