Add key bindings for gnome-terminal on Fedora
Robby Russell authored on 31/08/2011 at 04:09:36... | ... |
@@ -14,10 +14,15 @@ bindkey '^[[B' down-line-or-search |
14 | 14 |
|
15 | 15 |
bindkey "^[[H" beginning-of-line |
16 | 16 |
bindkey "^[[1~" beginning-of-line |
17 |
+bindkey "^[OH" beginning-of-line |
|
17 | 18 |
bindkey "^[[F" end-of-line |
18 | 19 |
bindkey "^[[4~" end-of-line |
20 |
+bindkey "^[OF" end-of-line |
|
19 | 21 |
bindkey ' ' magic-space # also do history expansion on space |
20 | 22 |
|
23 |
+bindkey "^[[1;5C" forward-word |
|
24 |
+bindkey "^[[1;5D" backward-word |
|
25 |
+ |
|
21 | 26 |
bindkey '^[[Z' reverse-menu-complete |
22 | 27 |
|
23 | 28 |
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~ |