Change EDITOR to nvim when available

This commit is contained in:
Talia 2021-07-22 08:53:02 +02:00
parent f79d612b7c
commit 42ab2d39e8
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
# vim: set noexpandtab filetype=sh :miv #
export EDITOR=vim
if which nvim
then export EDITOR=nvim
else export EDITOR=vim
fi
export LESSCHARSET=utf-8