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
Tip 18Using Normal Mode Commands in a Terminal Buffer
images/neovim-only.png

Most Normal mode commands work in terminal buffers just as they would in regular text buffers. In this tip we’ll run through some examples of the commands that are useful in this context.

Preparation

The source code that accompanies this book includes a terminal directory. Switch to that directory, then start Neovim with a terminal buffer:

=> $ cd code/terminal
=> $ nvim +terminal

This last command is equivalent to running nvim to launch Neovim, then running the :terminal Ex command after Neovim has launched (see :h -+c). The examples throughout this tip should be run within this internal ...

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