fix backspace and delete
This commit is contained in:
9
.zshrc
9
.zshrc
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user