Skip to content

Instantly share code, notes, and snippets.

@nelstrom
Last active May 5, 2017 08:28
Show Gist options
  • Save nelstrom/0f66d51c963e46a649453c5ee27cf748 to your computer and use it in GitHub Desktop.
Save nelstrom/0f66d51c963e46a649453c5ee27cf748 to your computer and use it in GitHub Desktop.
Inside Neovim :terminal, use neovim-remote as `$VISUAL`
if [ -n "$NVIM_LISTEN_ADDRESS" ]; then
export VISUAL="nvr -cc split --remote-wait +'set bufhidden=wipe'"
else
export VISUAL="nvim"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment