Vim or Neovim

This commit is contained in:
2018-09-28 12:58:09 +02:00
parent 9b4e8b9f7b
commit b031ea3ae1

View File

@@ -1,5 +1,10 @@
# My editor
export EDITOR="vim"
command -v nvim > /dev/null 2>&1
if [ $? -eq 0 ]; then
export EDITOR="nvim"
else
export EDITOR="vim"
fi
# Parallel conpilation with make
export MAKEFLAGS="+j`nproc`"