mirror of
https://github.com/lordmathis/dotfiles.git
synced 2025-11-06 01:34:22 +00:00
Add editor and git editor env variables
This commit is contained in:
8
.zshrc
8
.zshrc
@@ -14,6 +14,10 @@ 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
|
||||||
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
|
export HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
|
||||||
|
|
||||||
|
# Editor
|
||||||
|
export EDITOR=nvim
|
||||||
|
export GIT_EDITOR=nvim
|
||||||
|
|
||||||
# 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
|
||||||
@@ -85,5 +89,5 @@ source ~/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh
|
|||||||
setopt promptsubst
|
setopt promptsubst
|
||||||
|
|
||||||
# Bindkeys
|
# Bindkeys
|
||||||
bindkey "$terminfo[kcuu1]" history-substring-search-up
|
bindkey '^[[A' history-substring-search-up
|
||||||
bindkey "$terminfo[kcud1]" history-substring-search-down
|
bindkey '^[[B' history-substring-search-down
|
||||||
|
|||||||
Reference in New Issue
Block a user