Skip to content

Instantly share code, notes, and snippets.

@y0ug
Created September 13, 2023 10:20
Show Gist options
  • Save y0ug/814b8171e39228ecb926327488b648d2 to your computer and use it in GitHub Desktop.
Save y0ug/814b8171e39228ecb926327488b648d2 to your computer and use it in GitHub Desktop.
REM nvim --headless --listen localhost:7777
@ECHO off
@SET FILE_PATH=
FOR /F %%I IN ('wsl.exe wslpath -a -u %1') DO @SET "FILE_PATH=%%I"
C:\Python310\Scripts\nvr.exe --nostart --servername localhost:7777 -p "file://%FILE_PATH%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment