From 420b1dd932802431426de1ff7787b41a010207df Mon Sep 17 00:00:00 2001 From: Starfall Date: Fri, 8 Apr 2022 01:36:30 -0500 Subject: zsh: make home/end behave --- .config/zsh/vi-mode.zsh | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config') diff --git a/.config/zsh/vi-mode.zsh b/.config/zsh/vi-mode.zsh index f0529f9..07e4410 100644 --- a/.config/zsh/vi-mode.zsh +++ b/.config/zsh/vi-mode.zsh @@ -4,6 +4,9 @@ bindkey -v bindkey -M viins '^?' backward-delete-char bindkey -M viins '^H' backward-delete-char bindkey -M viins '^[[3~' delete-char +# fix home / end +bindkey '' beginning-of-line +bindkey '' end-of-line # display block cursor in normal mode function zle-keymap-select zle-line-init zle-line-finish { case $KEYMAP in -- cgit