1

Is there a way to change which terminal emulator neovim uses for its :terminal command? I am running neovim on Windows 10, and it used cmd by default; however, I would rather use cmder or another linux-style emulator if I can.

3

Neovim uses its own internal terminal emulator for :term. You can not change that (as far as I know). The thing you can change is the command interpreter/shell that runs in that terminal. See Wikipedia for the difference: Terminal vs Shell.

You can start any command (that you have installed) in the terminal if you just specify it as the argument: :terminal bash

I don't know how to do that by default but you can read the docs in order to find out if that's possible: :help :terminal.

Or you can define a custom command:

:command MyTerm terminal bash

If you instead want to start cmder in its own window from within Neovim just run :!cmder & (I suppose the & also works in windows?).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.