Revert "use use nvim -p by default"

This reverts commit ad7f30759b.
This commit is contained in:
tastytea 2022-08-08 18:59:38 +02:00
parent 4fbe92945b
commit 8f3f56b771
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -19,7 +19,7 @@ fi
# Set preferred editor.
# Add Defaults env_keep += "SSH_CONNECTION" to /etc/sudoers.d/ssh_vars
if type nvim >& -; then
VISUAL="$(command -v nvim) -p"
VISUAL="$(command -v nvim)"
elif command -v emacsclient > /dev/null; then
export EMACS_SOCKET_NAME="${HOME}/.emacs.d/server/server"
if pgrep -f "emacs --daemon" > /dev/null; then