Chris Sutcliffe wrote:
It isn't possible to run a shell inside a Vim window, and it never was,
see ":help shell-window".

I think what Kevin was referring to was that :sh used to spawn a
separate shell window for him, such as vim on Windows spawning
cmd.exe.  I believe this is controlled by the 'shell' variable in your
.vimrc.

Chris


The 'shell' variable holds the name of the shell. To spawn a separate shell window on Linux (I don't know Mac) I guess you should actually run konsole or xterm, not the shell. (I've tried ":!bash &" in Vim but I don't see any shell window; OTOH ":!bash" or ":shell" give the same result: a shell on the Vim command-line, pushing buffer windows away until "exit".)


Best regards,
Tony.

Reply via email to