mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Enable up/down history search.
This commit is contained in:
@@ -133,6 +133,9 @@ setopt hist_expire_dups_first
|
|||||||
setopt extended_history # Record times in history
|
setopt extended_history # Record times in history
|
||||||
setopt hist_ignore_all_dups
|
setopt hist_ignore_all_dups
|
||||||
|
|
||||||
|
bindkey '^[[A' up-line-or-search
|
||||||
|
bindkey '^[[B' down-line-or-search
|
||||||
|
|
||||||
# Configure alternative histfile location
|
# Configure alternative histfile location
|
||||||
HISTFILE="$XDG_DATA_HOME/zsh/histfile"
|
HISTFILE="$XDG_DATA_HOME/zsh/histfile"
|
||||||
if [ ! -d $(dirname $HISTFILE) ]
|
if [ ! -d $(dirname $HISTFILE) ]
|
||||||
|
|||||||
Reference in New Issue
Block a user