history regression
This commit is contained in:
5
.zshrc
5
.zshrc
@@ -7,8 +7,8 @@ export HISTSIZE=100000
|
|||||||
export SAVEHIST=100000
|
export SAVEHIST=100000
|
||||||
|
|
||||||
# History behavior
|
# History behavior
|
||||||
setopt INC_APPEND_HISTORY SHARE_HISTORY
|
setopt EXTENDED_HISTORY INC_APPEND_HISTORY SHARE_HISTORY
|
||||||
setopt HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
setopt HIST_VERIFY
|
setopt HIST_VERIFY
|
||||||
|
|
||||||
# General quality-of-life
|
# General quality-of-life
|
||||||
@@ -77,6 +77,7 @@ bindkey '^[^?' backward-kill-word # Alt+Backspace
|
|||||||
bindkey '^Q' push-line # Ctrl+Q (stash line, type another, comes back)
|
bindkey '^Q' push-line # Ctrl+Q (stash line, type another, comes back)
|
||||||
autoload -Uz edit-command-line && zle -N edit-command-line
|
autoload -Uz edit-command-line && zle -N edit-command-line
|
||||||
bindkey '^X^E' edit-command-line # Ctrl+X,E → edit in $EDITOR
|
bindkey '^X^E' edit-command-line # Ctrl+X,E → edit in $EDITOR
|
||||||
|
bindkey '^[e' edit-command-line # Alt+E → edit in $EDITOR
|
||||||
|
|
||||||
# search from prefix
|
# search from prefix
|
||||||
zinit light zsh-users/zsh-history-substring-search
|
zinit light zsh-users/zsh-history-substring-search
|
||||||
|
|||||||
Reference in New Issue
Block a user