I am trying to configure Neovim for Windows. One of the key things of this configuration is getting access to the terminal-emulator (it's very comfortable to switch and use the terminal with Vim). But I can't manage to get it to work. I use Neovim binaries/Neovim-qt. I can run shell commands using !
without issue.
I also tried to experiment with shell and shellquote vars, but it doesn't work as well.
I tried to use Bash (MSYS2) instead of cmd.exe, but still no luck. (!
still works)
The problem is probably the shell vars or some permissions.
I am very thankful for any help!
I think using let $PATH .= ';C:\cygwin64\bin'
in init.vim
might be enough to deal with shell issues.
I tried the vim style as suggested in
http://vim.wikia.com/wiki/Use_cygwin_shell . And this breaks vim-fugitive and vim-plug with error prompt like /usr/bin/bash command not found
(by git push, git log) or cannot create leading directory
(by vim-plug when cloning repos). After I disabled them, fugitive and plug works again.
And this $TERM
option might be of interest: https://neovim.io/doc/user/term.html#$TERM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With