about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/zsh/vi-mode.zsh3
1 files changed, 3 insertions, 0 deletions
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