I like how neovim does it. When you exit by default is doesn't close the terminal but shows [Process exited 0] and I can press any buttons to close it. (Attached image)
On Wednesday, March 14, 2018 at 3:25:41 PM UTC-7, Dominique Pelle wrote: > Bram Moolenaar wrote: > > > I currently think that the behavior to close-by-default only when no > > command argument is passed is the best solution. This assumes that the > > user intentionally ends the shell, which seems like a safe assumption. > > Right now, if I do ":terminal ++close" then exit the terminal, > its output is gone and I get no chance to see it anymore. > It seems that it's a bit dangerous, especially if it becomes the > default i.e without the ++close flag. But I understand that > when user close the shell, he often meant to also close the > terminal window. > > How about closing the terminal window but keep the buffer > in memory? (i.e. as if we did CTRL-N in the terminal, followed by :q) > So we'd still get a chance to reopen but buffer, using :ls to find > the buffer name or number. I think that this would be my preference, > but I have not used the terminal enough to be sure what works best. > > Regards > Dominique -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
