From b7f5c49ed81dea28873f200ad8cf04c2bed9e80d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 16 Apr 2025 19:29:02 +0200 Subject: [PATCH 1/1] Bind Home/End keys in Emacs mode to sol/eol --- .zsh/zshrc/80-zle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zsh/zshrc/80-zle b/.zsh/zshrc/80-zle index 78e3df8..c4d9492 100644 --- a/.zsh/zshrc/80-zle +++ b/.zsh/zshrc/80-zle @@ -74,6 +74,10 @@ bindkey $terminfo[kbs] backward-delete-char bindkey '^a' beginning-of-line bindkey '^e' end-of-line +# Home and End do too +bindkey -e "^[[H" beginning-of-line +bindkey -e "^[[F" end-of-line + # \ew :: print pwd to status line function _whereami() { zle -M "${(%):-"%m:%~"}" -- 2.39.5