use use nvim -p by default
This commit is contained in:
parent
692ed1cb62
commit
ad7f30759b
|
@ -19,7 +19,7 @@ fi
|
||||||
# Set preferred editor.
|
# Set preferred editor.
|
||||||
# Add Defaults env_keep += "SSH_CONNECTION" to /etc/sudoers.d/ssh_vars
|
# Add Defaults env_keep += "SSH_CONNECTION" to /etc/sudoers.d/ssh_vars
|
||||||
if type nvim >& -; then
|
if type nvim >& -; then
|
||||||
VISUAL="$(command -v nvim)"
|
VISUAL="$(command -v nvim) -p"
|
||||||
elif command -v emacsclient > /dev/null; then
|
elif command -v emacsclient > /dev/null; then
|
||||||
export EMACS_SOCKET_NAME="${HOME}/.emacs.d/server/server"
|
export EMACS_SOCKET_NAME="${HOME}/.emacs.d/server/server"
|
||||||
if pgrep -f "emacs --daemon" > /dev/null; then
|
if pgrep -f "emacs --daemon" > /dev/null; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user