From 179a26cb2200f641c1cdb4920e6dcb64a6c555e0 Mon Sep 17 00:00:00 2001 From: Matus Namesny Date: Tue, 18 Jan 2022 10:14:01 +0100 Subject: [PATCH] Move bindkeys --- .zshrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 00f8dc5..95d1483 100644 --- a/.zshrc +++ b/.zshrc @@ -13,10 +13,6 @@ export HISTFILE=$HOME/.zsh_history export HISTSIZE=15000 # keep 15,000 lines in memory export SAVEHIST=10000 # but save only 10,000 of them -# Bindkeys -bindkey "$terminfo[kcuu1]" history-substring-search-up -bindkey "$terminfo[kcud1]" history-substring-search-down - # VTE if [ $TILIX_ID ] || [ $VTE_VERSION ]; then source /etc/profile.d/vte.sh @@ -58,6 +54,10 @@ npm() { npm $@ } +# Compinit +autoload -Uz compinit +compinit + # ZSH Plugins ## Oh My Zsh @@ -81,3 +81,7 @@ source ~/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh # Set Prompt setopt promptsubst + +# Bindkeys +bindkey "$terminfo[kcuu1]" history-substring-search-up +bindkey "$terminfo[kcud1]" history-substring-search-down