mhinz / neovim-remote

:ok_hand: Support for --remote and friends.
MIT License
1.75k stars 83 forks source link

Command-exit status signaling an existing nvim process was found (for requested-to-open filename)? #143

Open johnnyutahh opened 4 years ago

johnnyutahh commented 4 years ago

How can a calling script determine (say via a bash command-exit status) whether or not it found an already-running nvim process for the requested-to-open file?

Details: https://www.reddit.com/r/neovim/comments/f6ix6w/a_seasoned_vivimmacvim_user_struggles_with_neovim/fi6vpuz/