dotfiles/.environment.d/neovim.env

6 lines
117 B
Bash

# Set neovim as default editor if it is installed
if command -v nvim >/dev/null 2>&1; then
export EDITOR=nvim
fi