Skip to content

Is there a way to open a file to existing neovide window? #1792

Answered by theammir
theammir asked this question in Q&A
Discussion options

You must be logged in to vote

#1324 (comment)
Spent a little more time than expected, but made this little powershell script, that somehow works better for my machine even though I barely made any changes.

$env:NVIM_LISTEN_ADDRESS = "\\.\pipe\nvim-nvr"
nvr.exe -s --nostart --servername "$env:NVIM_LISTEN_ADDRESS" -l $args; if ($LastExitCode -ne 0) { neovide -- --listen "$env:NVIM_LISTEN_ADDRESS" 
; if ($args) { nvr.exe -s --nostart --servername "$env:NVIM_LISTEN_ADDRESS" -l $args } } 

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Qwerty-Space
Comment options

Answer selected by theammir
Comment options

You must be logged in to vote
1 reply
@proofer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants