Closed mangelozzi closed 2 years ago
What do the logs say?
Nothing overly intersting: (I don't have GWSL installed, was just trying the various options, because I didn't know which one ment open with Windows Terminal.)
2021-10-19 12:30:26,989 - OpenInWSL 1.5 store - INFO - RUN TEST: nvim /mnt/c/users/michael/appdata/roaming/openinwsl/settings.json
2021-10-19 12:30:27,246 - OpenInWSL 1.5 store - INFO - No GWSL installed. Install or get another xserver
2021-10-19 12:31:01,514 - OpenInWSL 1.5 store - INFO - RUN TEST: nvim /mnt/c/users/michael/desktop/moocows.txt
2021-10-19 12:31:01,790 - OpenInWSL 1.5 store - INFO - No GWSL installed. Install or get another xserver
2021-10-19 12:32:58,614 - OpenInWSL 1.5 store - INFO - RUN TEST: nvim /mnt/c/users/michael/desktop/moocows.txt
2021-10-19 12:34:05,573 - OpenInWSL 1.5 store - INFO - RUN TEST: nvim /mnt/c/users/michael/desktop/moocows.txt
2021-10-19 12:41:21,269 - OpenInWSL 1.5 store - INFO - RUN TEST: /usr/bin/nvim '/mnt/c/users/michael/desktop/moocs~1.jso'
2021-10-19 12:41:47,027 - OpenInWSL 1.5 store - INFO - RUN TEST: /usr/bin/nvim '/mnt/c/users/michael/desktop/moocs~1.jso'
2021-10-19 12:42:02,944 - OpenInWSL 1.5 store - INFO - RUN TEST: /usr/bin/nvim '/mnt/c/users/michael/desktop/moocs~1.jso'
2021-10-19 12:51:32,545 - OpenInWSL 1.5 store - INFO - RUN TEST: nvim '/mnt/c/users/michael/desktop/moocs~1.jso'
2021-10-19 12:53:27,733 - OpenInWSL 1.5 store - INFO - RUN TEST: echo /mnt/c/users/michael/desktop/moocs.txt; read
2021-10-19 12:54:37,399 - OpenInWSL 1.5 store - INFO - RUN TEST: /usr/bin/nvim "/mnt/c/users/michael/desktop/moocs.txt"
2021-10-19 12:54:50,211 - OpenInWSL 1.5 store - INFO - RUN TEST: /usr/bin/nvim "/mnt/c/users/michael/desktop/moocs.txt"
Oh! Neovim is non graphical! In that case you need a graphical linux terminal app. For example you would do something like xterm neovim #fpth#
(I do not remember the manual of xterm off the top of my head)
Okay thank you. Someone recommended this app as a solution to opening WSL app in windows terminal so I was under the impression if could. Thanks for the answers.
No problem (Btw now that you mention it maybe it can. I just don't have a machine to test atm)
This configuration
/usr/bin/nvim #fpth#
does not work.In the shell in bash
/usr/bin/nvim ~/myfile.txt
works (so doesnvim ~/myfile.txt
).