Change EDITOR to nvim when available
This commit is contained in:
parent
f79d612b7c
commit
42ab2d39e8
1 changed files with 4 additions and 1 deletions
5
profile
5
profile
|
@ -1,6 +1,9 @@
|
||||||
# vim: set noexpandtab filetype=sh :miv #
|
# 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
|
export LESSCHARSET=utf-8
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue