Skip to Content
Modern Vim
book

Modern Vim

by Drew Neil
May 2018
Intermediate to advanced
168 pages
4h 2m
English
Pragmatic Bookshelf
Content preview from Modern Vim

Chapter 5Neovim’s Built-In Terminal Emulator

When you run Neovim in a terminal you’re never far from a shell. If you want to run a single command line, you can use :!{cmd}. Or if you want to run a series of commands, you can use <C-z> to suspend Neovim. This returns you to the shell that you used to launch the nvim process. When you’re done with the shell, you can bring Neovim back into the foreground using the fg command. That brings Neovim back to life exactly as you left it.

You might be wondering: What could I do with Neovim’s built-in terminal emulator that I can’t already do using this suspend/resume workflow?

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Vim Masterclass

Vim Masterclass

Jason Cannon
Mastering Vim

Mastering Vim

Ruslan Osipov

Publisher Resources

ISBN: 9781680506006Errata Page