mirror of
https://github.com/lordmathis/dotfiles.git
synced 2025-11-05 17:24:22 +00:00
Move bindkeys
This commit is contained in:
12
.zshrc
12
.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
|
||||
|
||||
Reference in New Issue
Block a user