-
I wanted to use Neovide as an external editor for Godot 4.0, but every time I double click a file, it opens a new window with it. Totally noob question, but Is there a workaround to just add a new tab or something if Neovide is running? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
#1324 (comment) $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 } } |
Beta Was this translation helpful? Give feedback.
-
On Mac Os, I created a little automator application that allows me to do this: Steps to Create an Automator Application
for f in "$@"
do
/full/path/to/neovide "$f"
done This script loops through each file passed to the Automator application and opens them with Neovide.
Setting File Associations
|
Beta Was this translation helpful? Give feedback.
#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.