Browse code

Add key bindings for gnome-terminal on Fedora

Loïc Yhuel authored on 23/07/2011 at 21:09:03
Showing 1 changed files
... ...
@@ -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 ~