1

I use :terminal in neovim to run a dev server. But whenever I switch to other opened buffer(s), the terminal kills the process. Is there a way to keep the terminal running in neovim?

3
  • How are you switching? Vim doesnt do that, at least
    – D. Ben Knoble
    Commented Jan 14, 2020 at 23:32
  • @D.BenKnoble I use <C-\><C-n> and then :bp to switch to previous buffer. Commented Jan 15, 2020 at 5:38
  • 1
    <C-\> sometimes sends a weird signal to programs that causes them to crash. Try <C-w>:bp?
    – D. Ben Knoble
    Commented Jan 15, 2020 at 13:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.