From 16c86037396cee8aef72d14f477a643bb9130a80 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 16 Mar 2019 13:44:50 +0100 Subject: zshrc: Fix begin/end of line keys in termite without tmux/screen Signed-off-by: Florian Pritz --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-24-g4f1b