From: martin f. krafft Date: Wed, 16 Apr 2025 17:29:02 +0000 (+0200) Subject: Bind Home/End keys in Emacs mode to sol/eol X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/b7f5c49ed81dea28873f200ad8cf04c2bed9e80d Bind Home/End keys in Emacs mode to sol/eol --- 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:%~"}"