From ad7f30759b10303028ec177008d72941fdcb7a01 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 8 Aug 2022 16:59:50 +0200 Subject: [PATCH] use use nvim -p by default --- .config/zsh/.zprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 3e17a4c..d67dbfe 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -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)" + VISUAL="$(command -v nvim) -p" elif command -v emacsclient > /dev/null; then export EMACS_SOCKET_NAME="${HOME}/.emacs.d/server/server" if pgrep -f "emacs --daemon" > /dev/null; then