1
0
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:
2018-04-23 14:54:23 +02:00
parent 5ccce3a4b3
commit ef3083e1d1

View File

@@ -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) ]