> Hmm, then I must wrongly understood the vim's help: > > :sh[ell] This command starts a shell. When the shell > exits (after the "exit" command) you return to Vim. The name for the > shell command comes from 'shell' option.
No, you understand correctly. I just don't use for fish invocation :set shell=/usr/bin/fish :shell but rather :!fish :! executes any program, so why not fish > afaiu, the 'shell' option decided which shell will vim use with :sh > command, or am I wrong? Yes, that's correct, and now I understand where your problem is. :!fish is workaround. Another workaround might be :command Sh :!fish and use (capital S) :Sh > > It somehow stops vim. When I bring it to foreground (using fg), vi > > continues normally. > > I've problem bringing vim back. Can you try to make experiment by using > fish as default shell? Sure, what are your exact steps ? -- Vlad
pgptP9LhGdnk1.pgp
Description: PGP signature