Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Vim

You're reading from  Mastering Vim

Product type Book
Published in Nov 2018
Publisher Packt
ISBN-13 9781789341096
Pages 330 pages
Edition 1st Edition
Languages
Author (1):
Ruslan Osipov Ruslan Osipov
Profile icon Ruslan Osipov

Table of Contents (12) Chapters

Preface Getting Started Advanced Editing and Navigation Follow the Leader - Plugin Management Understanding the Text Build, Test, and Execute Refactoring Code with Regex and Macros Making Vim Your Own Transcending the Mundane with Vimscript Neovim Where to Go from Here Other Books You May Enjoy

Deeper dive into modes

You've already encountered a few different modes Vim operates in, and this section will cover these and the remaining modes in depth. As you have already learned, Vim uses modes to know how to respond to input: a key press in normal mode will produce different results from a key press in insert or command-line mode.

Vim has seven primary modes, and it's important to understand what each mode does in order to comfortably navigate Vim.

Normal mode

This is where you will (and already have) spend most of your time with Vim. You enter normal mode by default when opening Vim, and you can go back to normal mode from other modes by pressing the Esc key (sometimes twice).

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}