... | ... |
@@ -2,10 +2,16 @@ |
2 | 2 |
|
3 | 3 |
bindkey -e |
4 | 4 |
bindkey '\ew' kill-region |
5 |
-bindkey -s '\eh' "cd ..\n" |
|
6 |
-bindkey -s '\el' "ls\n" |
|
7 |
-bindkey -s '\ej' "pushd -1\n" |
|
8 |
-bindkey -s '\ek' "pushd +1\n" |
|
5 |
+ |
|
6 |
+# ^j ^i ^m ^, ^. cannot be used |
|
7 |
+alias ←="pushd -q +1" |
|
8 |
+alias →="pushd -q -0" |
|
9 |
+alias ↑="cd .." |
|
10 |
+bindkey -s '^u' "↑\n" |
|
11 |
+bindkey -s '^b' "←\n" |
|
12 |
+bindkey -s '^f' "→\n" |
|
13 |
+bindkey -s '^k' "ls\n" |
|
14 |
+ |
|
9 | 15 |
bindkey '^r' history-incremental-search-backward |
10 | 16 |
bindkey "^[[5~" up-line-or-history |
11 | 17 |
bindkey "^[[6~" down-line-or-history |