diff --git a/zshrc b/zshrc index 4f8bd29..0105492 100644 --- a/zshrc +++ b/zshrc @@ -111,6 +111,9 @@ source ~/.zcomet/repos/larkery/zsh-histdb/histdb-interactive.zsh alias hist="histdb-skim-widget" # Fix home/end/del silly +bindkey "^[[H" beginning-of-line +bindkey "^[[F" end-of-line +bindkey "^[[3~" delete-char if [[ "$TERM" != emacs ]]; then [[ -z "$terminfo[kdch1]" ]] || bindkey -M emacs "$terminfo[kdch1]" delete-char [[ -z "$terminfo[khome]" ]] || bindkey -M emacs "$terminfo[khome]" beginning-of-line