Neovim Terminal Emulator Configuration for Windows 10

I am trying to configure Neovim for Windows. One of the key features of this configuration is to access the terminal emulator (it’s very convenient to switch and use the terminal with Vim). But I can’t make it work. I am using Neovim / Neovim-qt duplicate files. I can run shell commands with !no problem.

I also tried experimenting with shell and shellquote vars, but it doesn't work either.

I tried using Bash (MSYS2) instead of cmd.exe, but still no luck. ( !still working)

The problem is probably vars shells or some permissions.

I am very grateful for any help!

+4
source share
1 answer

I think using let $PATH .= ';C:\cygwin64\bin'in init.vimmay be enough to solve shell problems.

I tried the vim style as suggested at
 http://vim.wikia.com/wiki/Use_cygwin_shell . And that violates vim-fugitive and vim-plug with an error message like /usr/bin/bash command not found(via git push, git log) or cannot create leading directory(via vim-plug when cloning repositories). After I disabled them, the runaway and plugin work again.

And this parameter $TERMmay be of interest: https://neovim.io/doc/user/term.html# $ TERM

0
source

Source: https://habr.com/ru/post/1668747/


All Articles