762b55bb2bc0452ce3f5f2f21bc22b61936ef704

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #490 from hwti/428f18cf428fd86bd6e99c4363e5f25d0e392506

Add key bindings for gnome-terminal on Fedora

Diff

 1diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
 2index 9c2dda35a2aa9f2dbb0b4c644bc80142549c3172..5c1b90bfa94d4a3e9497383e0c6eac9f7a4ed07f 100644
 3--- a/lib/key-bindings.zsh
 4+++ b/lib/key-bindings.zsh
 5@@ -14,10 +14,15 @@ bindkey '^[[B' down-line-or-search
 6 
 7 bindkey "^[[H" beginning-of-line
 8 bindkey "^[[1~" beginning-of-line
 9+bindkey "^[OH" beginning-of-line
10 bindkey "^[[F"  end-of-line
11 bindkey "^[[4~" end-of-line
12+bindkey "^[OF" end-of-line
13 bindkey ' ' magic-space    # also do history expansion on space
14 
15+bindkey "^[[1;5C" forward-word
16+bindkey "^[[1;5D" backward-word
17+
18 bindkey '^[[Z' reverse-menu-complete
19 
20 # Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~