Move bindkeys up

This commit is contained in:
Matus Namesny 2022-01-13 13:41:50 +01:00
parent 79836a8756
commit 2208396599
1 changed files with 4 additions and 4 deletions

8
.zshrc
View File

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