From 0da54801e4ddcf8801d9bb993baf75bd0f606b74 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 22 May 2019 10:51:54 +0100 Subject: [PATCH] Fix HOME and END key bindings in zle --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index f66ea16..f2bea2b 100644 --- a/zshrc +++ b/zshrc @@ -129,6 +129,10 @@ autoload -U edit-command-line zle -N edit-command-line bindkey -M vicmd '^V' edit-command-line +# Enable HOME and END keys +bindkey $key[Home] beginning-of-line +bindkey $key[End] end-of-line + # Get the shells parent process name. ppid_name() { echo $(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=) }