Added nvr alias for 'nvim' and 'n' inside nvim
This commit is contained in:
parent
5d826d7ead
commit
6f553fda86
16
init.zsh
16
init.zsh
@ -26,13 +26,19 @@ zstyle ':completion:*' menu select
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=10000
|
||||
|
||||
# Set some basic variables
|
||||
export EDITOR=nvim
|
||||
export VISUAL="${EDITOR}"
|
||||
# Set some random stuff
|
||||
export BROWSER=firefox
|
||||
|
||||
# Neovim aliases
|
||||
alias n=nvim
|
||||
# Neovim stuff
|
||||
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
|
||||
|
||||
# I mess this up a lot
|
||||
|
Loading…
Reference in New Issue
Block a user