mirror of
https://github.com/lordmathis/dotfiles.git
synced 2025-11-06 09:44:25 +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 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 "$terminfo[kcuu1]" history-substring-search-up
|
|
||||||
bindkey "$terminfo[kcud1]" 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
|
||||||
@@ -58,6 +54,10 @@ npm() {
|
|||||||
npm $@
|
npm $@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Compinit
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
|
||||||
# ZSH Plugins
|
# ZSH Plugins
|
||||||
|
|
||||||
## Oh My Zsh
|
## Oh My Zsh
|
||||||
@@ -81,3 +81,7 @@ source ~/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh
|
|||||||
|
|
||||||
# Set Prompt
|
# Set Prompt
|
||||||
setopt promptsubst
|
setopt promptsubst
|
||||||
|
|
||||||
|
# Bindkeys
|
||||||
|
bindkey "$terminfo[kcuu1]" history-substring-search-up
|
||||||
|
bindkey "$terminfo[kcud1]" history-substring-search-down
|
||||||
|
|||||||
Reference in New Issue
Block a user