Added nvr alias for 'nvim' and 'n' inside nvim

This commit is contained in:
Alexander Rosenberg 2022-09-26 14:46:10 -07:00
parent 5d826d7ead
commit 6f553fda86
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -26,13 +26,19 @@ zstyle ':completion:*' menu select
HISTSIZE=1000 HISTSIZE=1000
SAVEHIST=10000 SAVEHIST=10000
# Set some basic variables # Set some random stuff
export EDITOR=nvim
export VISUAL="${EDITOR}"
export BROWSER=firefox export BROWSER=firefox
# Neovim aliases # Neovim stuff
alias n=nvim if [[ -v NVIM ]]; then
export EDITOR=nvr
alias n=nvr
alias nvim=nvr
else
export EDITOR=nvim
alias n=nvim
fi
export VISUAL="${EDITOR}"
alias se=sudoedit alias se=sudoedit
# I mess this up a lot # I mess this up a lot