Answer by horkhork for How can I emulate :shell command in Neovim?
It should be possible to attach to a tmux session from the terminal, i.e. :term tmux a. I'm not sure how usable it will be, but it's one way to get a persistent shell from neovim.
View ArticleAnswer by ephemerr for How can I emulate :shell command in Neovim?
My solution for this need of shell integration is to use neovim terminal tab as main shell.I use also skywind3000/vim-terminal-help plugin and drop command to open new files in same instance of vim and...
View ArticleAnswer by padawin for How can I emulate :shell command in Neovim?
As @statox mentioned, you can use CTRL-z. If you want to spawn a new shell from vim, as :shell does, you can do: :!sh, :!bash, :!zsh (pick your favourite), which has pretty much the same effect as :shell.
View ArticleHow can I emulate :shell command in Neovim?
There is no :shell command in neovim. :terminal opens a shell without previous output, while :shell contains all the output of the parent shell and all previous shells. Is there any way to emulate...
View ArticleAnswer by fschlegelone for How can I emulate :shell command in Neovim?
In your init.lua you can set vim.o.shell to the shell binary you're using in your parent shell.For bash that's usually /bin/bash & for zsh /bin/zsh.vim.o.shell = '/bin/zsh -i'
View Article