walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
585 stars 17 forks source link

Unable to launch an editor in Windows under git bash environment #219

Closed aNNiMON closed 3 days ago

aNNiMON commented 4 days ago

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"