Move bindkeys up
This commit is contained in:
parent
79836a8756
commit
2208396599
8
.zshrc
8
.zshrc
|
@ -13,6 +13,10 @@ export HISTFILE=$HOME/.zsh_history
|
||||||
export HISTSIZE=15000 # keep 15,000 lines in memory
|
export HISTSIZE=15000 # keep 15,000 lines in memory
|
||||||
export SAVEHIST=10000 # but save only 10,000 of them
|
export SAVEHIST=10000 # but save only 10,000 of them
|
||||||
|
|
||||||
|
# Bindkeys
|
||||||
|
bindkey '^[[A' history-substring-search-up
|
||||||
|
bindkey '^[[B' history-substring-search-down
|
||||||
|
|
||||||
# VTE
|
# VTE
|
||||||
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
||||||
source /etc/profile.d/vte.sh
|
source /etc/profile.d/vte.sh
|
||||||
|
@ -75,9 +79,5 @@ source ~/.zsh/zsh-completions/zsh-completions.plugin.zsh
|
||||||
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
source ~/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh
|
source ~/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh
|
||||||
|
|
||||||
# Bindkeys
|
|
||||||
bindkey '^[[A' history-substring-search-up
|
|
||||||
bindkey '^[[B' history-substring-search-down
|
|
||||||
|
|
||||||
# Set Prompt
|
# Set Prompt
|
||||||
setopt promptsubst
|
setopt promptsubst
|
||||||
|
|
Loading…
Reference in New Issue