Skip to content

Commit

Permalink
Merge pull request ohmyzsh#490 from hwti/428f18cf428fd86bd6e99c4363e5…
Browse files Browse the repository at this point in the history
…f25d0e392506

Add key bindings for gnome-terminal on Fedora
  • Loading branch information
robbyrussell committed Aug 31, 2011
2 parents 0b01195 + 428f18c commit 762b55b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/key-bindings.zsh
Expand Up @@ -14,10 +14,15 @@ bindkey '^[[B' down-line-or-search

bindkey "^[[H" beginning-of-line
bindkey "^[[1~" beginning-of-line
bindkey "^[OH" beginning-of-line
bindkey "^[[F" end-of-line
bindkey "^[[4~" end-of-line
bindkey "^[OF" end-of-line
bindkey ' ' magic-space # also do history expansion on space

bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word

bindkey '^[[Z' reverse-menu-complete

# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
Expand Down

0 comments on commit 762b55b

Please sign in to comment.