feat(neovim): set as default editor if install
This commit is contained in:
parent
a573d8f35b
commit
8d12ad4918
1 changed files with 6 additions and 0 deletions
6
.environment.d/neovim.env
Normal file
6
.environment.d/neovim.env
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Set neovim as default editor if it is installed
|
||||
|
||||
if command -v nvim >/dev/null 2>&1; then
|
||||
export EDITOR=nvim
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue