How to use STDIN (standard input) from Neovim's shell?

I’m trying to execute commands from neovim using the the shell :! and stdin doesn’t seem to work when I’m trying to execute programs that require to get input from the user. Any ideas?

This is a known and long-outstanding issue, see :! (bang) and system() are not interactive · Issue #1496 · neovim/neovim · GitHub

The current solution is to use :term instead of :!.

1 Like