ZSH: Moved settings for history-substring-search to it's own config file.
This commit is contained in:
parent
275793ea16
commit
6b61b3efc4
@ -14,11 +14,3 @@ setopt histignorespace
|
||||
setopt histnostore
|
||||
setopt share_history
|
||||
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
|
||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
|
||||
|
||||
# # Make up and down arrow take what’s typed on the commandline in to account.
|
||||
|
||||
# autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
|
||||
|
||||
# zle -N up-line-or-beginning-search
|
||||
# zle -N down-line-or-beginning-search
|
||||
|
@ -1,3 +0,0 @@
|
||||
# Search
|
||||
bindkey '^[[A' history-substring-search-up # Up arrow
|
||||
bindkey '^[[B' history-substring-search-down # down arrow
|
@ -0,0 +1,4 @@
|
||||
# zsh-history-substring-search configuration
|
||||
bindkey '^[[A' history-substring-search-up # or '\eOA'
|
||||
bindkey '^[[B' history-substring-search-down # or '\eOB'
|
||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
|
Loading…
Reference in New Issue
Block a user