Skip to content

Commit 762b55b

Browse files
committed
Merge pull request ohmyzsh#490 from hwti/428f18cf428fd86bd6e99c4363e5f25d0e392506
Add key bindings for gnome-terminal on Fedora
2 parents 0b01195 + 428f18c commit 762b55b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/key-bindings.zsh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,15 @@ bindkey '^[[B' down-line-or-search
1414

1515
bindkey "^[[H" beginning-of-line
1616
bindkey "^[[1~" beginning-of-line
17+
bindkey "^[OH" beginning-of-line
1718
bindkey "^[[F" end-of-line
1819
bindkey "^[[4~" end-of-line
20+
bindkey "^[OF" end-of-line
1921
bindkey ' ' magic-space # also do history expansion on space
2022

23+
bindkey "^[[1;5C" forward-word
24+
bindkey "^[[1;5D" backward-word
25+
2126
bindkey '^[[Z' reverse-menu-complete
2227

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

0 commit comments

Comments
 (0)