Closed lopi-py closed 1 year ago
Hi this would be a great addition to the plugin! I was planning on adding this (as part of the roadmap), but am not sure about how it’ll work with WSL1 and WSL2 (don’t have an environment to test it on). Feel free to create a PR if you want, or I can just add in the Windows case for now!
I think on wsl it will detect as linux, but I'm going to try now
It works on wsl, it use xdg-open
, I don't have a "linux native" environment so I don't know it that is expected or it's wsl stuff(which I'm pretty sure it is) but I'm getting a little delay(terminal freezing) when using it
I'll create a PR in a bit
Edit: yeah it's wsl stuff, I was testing and it freeze even out of neovim
Minimal plugin but useful! I was researching if there is a command for opening a url on windows and I found
start
. eg:start https://github.com
. this will open that url with the system's default browser