fix backspace and delete

This commit is contained in:
2024-10-09 15:24:58 +02:00
parent bfdc515816
commit 7f73b96d25
2 changed files with 9 additions and 5 deletions

9
.zshrc
View File

@@ -22,13 +22,12 @@ bindkey -v
#### custom config
# keybinds
bindkey -M vicmd 'k' history-search-backward
bindkey -M vicmd 'j' history-search-forward
bindkey -M viins '^k' history-search-backward
bindkey -M viins '^j' history-search-forward
# prompt
autoload -Uz vcs_info
precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b '
bindkey '^?' backward-delete-char
bindkey '\e[3~' delete-char
source ~/.zsh_theme