about summary refs log tree commit diff
path: root/.config/zsh
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2022-04-08 01:36:30 -0500
committerStarfall <us@starfall.systems>2022-04-08 01:36:30 -0500
commit420b1dd932802431426de1ff7787b41a010207df (patch)
treeae061868036da846ee1903f124dd88575bd11b1b /.config/zsh
parent84b2c05665b6051254b6769a1069290f39ab7483 (diff)
zsh: make home/end behave
Diffstat (limited to '.config/zsh')
-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