Update zsh dotfiles
This commit is contained in:
parent
ff6510d978
commit
d8dc8c7655
|
@ -21,9 +21,9 @@ setopt HIST_SAVE_NO_DUPS
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
setopt HIST_IGNORE_SPACE
|
setopt HIST_IGNORE_SPACE
|
||||||
setopt globdots
|
setopt globdots
|
||||||
setopt extended_glob
|
|
||||||
setopt menu_complete
|
setopt menu_complete
|
||||||
setopt no_case_glob no_case_match
|
setopt no_case_glob
|
||||||
|
setopt no_case_match
|
||||||
setopt interactive_comments
|
setopt interactive_comments
|
||||||
|
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
@ -31,17 +31,20 @@ bindkey -M menuselect 'h' vi-backward-char
|
||||||
bindkey -M menuselect 'k' vi-up-line-or-history
|
bindkey -M menuselect 'k' vi-up-line-or-history
|
||||||
bindkey -M menuselect 'j' vi-down-line-or-history
|
bindkey -M menuselect 'j' vi-down-line-or-history
|
||||||
bindkey -M menuselect 'l' vi-forward-char
|
bindkey -M menuselect 'l' vi-forward-char
|
||||||
bindkey '^E' edit-command-line
|
|
||||||
bindkey -M vicmd '^e' edit-command-line
|
bindkey -M vicmd '^e' edit-command-line
|
||||||
bindkey -M vicmd '^[[P' vi-delete-char
|
bindkey -M vicmd '^[[P' vi-delete-char
|
||||||
bindkey -M visual '^[[P' vi-delete
|
bindkey -M visual '^[[P' vi-delete
|
||||||
|
bindkey '^E' edit-command-line
|
||||||
bindkey "^H" backward-delete-char
|
bindkey "^H" backward-delete-char
|
||||||
bindkey "^?" backward-delete-char
|
bindkey "^?" backward-delete-char
|
||||||
bindkey "^R" history-incremental-search-backward
|
bindkey "^R" history-incremental-search-backward
|
||||||
|
bindkey "^S" history-incremental-search-forward
|
||||||
bindkey "^[[A" history-search-backward
|
bindkey "^[[A" history-search-backward
|
||||||
bindkey "^[[B" history-search-forward
|
bindkey "^[[B" history-search-forward
|
||||||
bindkey '^[[P' delete-char
|
bindkey '^[[P' delete-char
|
||||||
|
|
||||||
|
stty stop undef
|
||||||
|
|
||||||
zle-keymap-select () {
|
zle-keymap-select () {
|
||||||
case $KEYMAP in
|
case $KEYMAP in
|
||||||
vicmd) echo -ne '\e[1 q';;
|
vicmd) echo -ne '\e[1 q';;
|
||||||
|
|
Loading…
Reference in New Issue