summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-03-16 13:44:50 +0100
committerFlorian Pritz <bluewind@xinu.at>2019-03-16 13:44:50 +0100
commit16c86037396cee8aef72d14f477a643bb9130a80 (patch)
treebac591e134a2d2418bddc270ebcaa703757804ff
parentea227a0b85a1f896f5b9e00c3196ff1e7ac6e0af (diff)
downloaddotfiles-16c86037396cee8aef72d14f477a643bb9130a80.tar.gz
dotfiles-16c86037396cee8aef72d14f477a643bb9130a80.tar.xz
zshrc: Fix begin/end of line keys in termite without tmux/screen
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index f726e62..7004e8d 100644
--- a/.zshrc
+++ b/.zshrc
@@ -93,6 +93,10 @@ bindkey '\e[3~' delete-char
bindkey '\e[2~' overwrite-mode
bindkey "^[[7~" beginning-of-line # Pos1
bindkey "^[[8~" end-of-line # End
+bindkey "${terminfo[khome]}" beginning-of-line
+bindkey "${terminfo[kend]}" end-of-line
+bindkey '\e[H' beginning-of-line
+bindkey '\e[F' end-of-line
bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward