Fixed backspace issue

This commit is contained in:
Joachim Nielandt 2023-05-07 09:48:51 +02:00
parent 5b7381e682
commit e793e78c72

View File

@ -39,7 +39,11 @@ setopt nomatch
setopt notify
# Beep on error
unsetopt beep
# Bindings
bindkey -v
# This fixed "can't backspace after switching from normal to insert mode"
bindkey -v '^?' backward-delete-char
# must be after -v
# enable backwards search with ctrl-r
bindkey '^R' history-incremental-search-backward
@ -77,6 +81,8 @@ if ! zgenom saved; then
zgenom save
fi
# this supposedly fixes the slow pasting into shell
# zstyle ':bracketed-paste-magic' active-widgets '.self-*'