Vim or Neovim

This commit is contained in:
Thomas Forgione 2018-09-28 12:58:09 +02:00
parent 9b4e8b9f7b
commit b031ea3ae1
No known key found for this signature in database
GPG Key ID: D08635DBFEB88678
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# My editor
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`"