I know there's a number of ways you can suspend a Neovim/Vim session.
One way being CTRL-Z to jump back into the command prompt, and press fg
and ENTER to go back into your Neovim/Vim session.
However....Doing this on Windows seems to freeze my console entirely to the point where I have to end the process by force. I don't want to use the :!
command in neovim because that's not what I'm trying to do, and the :sus
command essentially does the same thing as CTRL-Z.
Is there a way to do this on Windows ? I know for sure that it can be done on Linux, and from a little research apparently CTRL-Z means end of input on DOS/Windows machines.
EDIT: 3/12/18 Also, as additional info I used both ConEmu and the default Windows command line
EDIT: 3/14/18
Using the :shell
or :sus
command seems to get it to work fine in regular vanilla Vim 8.0 in combination with exit
, but that's only in regular Vim. CTRL-Z also works as well if I edit my _vimrc
to get rid of source $VIMRUNTIME/mswin.vim
and behave mswin
. I still will like this to be able to work in neovim
ctrl-z
should work), in the Windows Linux subsystem, in a Windows command line, etc?Ctrl-Z
or:sus
) in regular Vim 7.4, running both under the Windows Command Prompt or in the bash provided by Git for Windows (on Windows 10). You might also like to try:shell
which does something slightly different but similar.exit
instead offg
.