Tip 25Restarting Terminal Processes When Resuming a Session
images/neovim-only.png

If you’re running Neovim, you might also want your session file to record details of which processes were running in terminal buffers. By taking care to name your terminal buffers appropriately, you can make your processes resume when you restore a session.

Preparation

The source code that accompanies this book includes a webapp directory. Switch to that directory and install the dependencies:

=> $ cd code/webapp
=> $ npm install

This directory contains a simple web server. You can start the server by running:

=> $ npm run server

You’ll also find a small test suite, which ...

Get Modern Vim now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.