diff options
author | Starfall <us@starfall.systems> | 2022-04-08 01:36:30 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2022-04-08 01:36:30 -0500 |
commit | 420b1dd932802431426de1ff7787b41a010207df (patch) | |
tree | ae061868036da846ee1903f124dd88575bd11b1b | |
parent | 84b2c05665b6051254b6769a1069290f39ab7483 (diff) |
zsh: make home/end behave
-rw-r--r-- | .config/zsh/vi-mode.zsh | 3 |
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 '[H' beginning-of-line +bindkey '[F' end-of-line # display block cursor in normal mode function zle-keymap-select zle-line-init zle-line-finish { case $KEYMAP in |