Closed hongcn5 closed 1 year ago
can't use Ctrl-h to delete character on anywhere in the insert mode after normal mode into insert mode
Ctrl-h
setopt
set
opt
a
A
zvm_before_init() { local ncur=$(zvm_cursor_style $ZVM_NORMAL_MODE_CURSOR) ZVM_INSERT_MODE_CURSOR=$ncur'\e\e]12;#929292\a' ZVM_NORMAL_MODE_CURSOR=$ncur'\e\e]12;#008800\a' } zvm_config() { ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT ZVM_VI_ESCAPE_BINDKEY=jk ZVM_VI_HIGHLIGHT_BACKGROUND=#519e97 } source /opt/homebrew/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
sorry, i misunderstand the feature of shortcut 'ctrl-h'
General information
Basic examination
Problem description
can't use
Ctrl-h
to delete character on anywhere in the insert mode after normal mode into insert modeReproduction steps
setopt
set
|opt
a
orA
to insert mode, useCtrl-h
to delete character, only can delete character afterset
Expected behavior
setopt
set
|opt
a
orA
to insert modeCtrl-h
delete character on anywhere.zshrc config
zvm_before_init() { local ncur=$(zvm_cursor_style $ZVM_NORMAL_MODE_CURSOR) ZVM_INSERT_MODE_CURSOR=$ncur'\e\e]12;#929292\a' ZVM_NORMAL_MODE_CURSOR=$ncur'\e\e]12;#008800\a' } zvm_config() { ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT ZVM_VI_ESCAPE_BINDKEY=jk ZVM_VI_HIGHLIGHT_BACKGROUND=#519e97 } source /opt/homebrew/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh