Vim or Neovim
This commit is contained in:
parent
9b4e8b9f7b
commit
b031ea3ae1
|
@ -1,5 +1,10 @@
|
||||||
# My editor
|
# 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
|
# Parallel conpilation with make
|
||||||
export MAKEFLAGS="+j`nproc`"
|
export MAKEFLAGS="+j`nproc`"
|
||||||
|
|
Loading…
Reference in New Issue