walles/moar

Unable to launch an editor in Windows under git bash environment

Closed this issue · 0 comments

I'm using Windows with git bash. $EDITOR points to a valid neovim executable. However, it doesn't open when I pressv. Instead, it shows a message that nvim is not executable. I tried with different executables, such as notepad, npp, still the same message.

echo $EDITOR
nvim

❯ moar sample.txt
# when pressing v:
Please post the following report at <https://github.com/walles/moar/issues>

Version: v1.24.4
LANG   : en_US.UTF-8
TERM   : xterm-256color
MOAR   :

GOOS    : windows
GOARCH  : amd64
Compiler: gc
NumCPU  : 16

time="Jun 28 21:46:06.320579" level=warning msg="Editor C:\\dev\\neovim\\bin\\nvim.exe is not executable"