Book description
Mastering Vim, reviewed by Bram Moolenaar, the creator of Vim, covers usage of Vim and Neovim, showcases relevant plugins, and teaches Vimscript
Key Features
- Expert Vim and Vimscript techniques to work with Python and other development environment
- Accomplish end-to-end software development tasks with Neovim and Vim plugins
- Understand best practices for various facets of projects like version control, building, and testing
Book Description
Vim is a ubiquitous text editor that can be used for all programming languages. It has an extensive plugin system and integrates with many tools. Vim offers an extensible and customizable development environment for programmers, making it one of the most popular text editors in the world.
Mastering Vim begins with explaining how the Vim editor will help you build applications efficiently. With the fundamentals of Vim, you will be taken through the Vim philosophy. As you make your way through the chapters, you will learn about advanced movement, text operations, and how Vim can be used as a Python (or any other language for that matter) IDE. The book will then cover essential tasks, such as refactoring, debugging, building, testing, and working with a version control system, as well as plugin configuration and management. In the concluding chapters, you will be introduced to additional mindset guidelines, learn to personalize your Vim experience, and go above and beyond with Vimscript.
By the end of this book, you will be sufficiently confident to make Vim (or its fork, Neovim) your first choice when writing applications in Python and other programming languages.
What you will learn
- Get the most recent Vim, GVim, and Neovim versions installed
- Become efficient at navigating and editing text
- Uncover niche Vim plugins and pick the best ones
- Discover multiple ways of organizing plugins
- Explore and tailor Vim UI to fit your needs
- Organize and maintain Vim configuration across environments
- Write scripts to complement your workflow using Vimscript
Who this book is for
Mastering Vim is written for beginner, intermediate, and expert developers.The book will teach you to effectively embed Vim in your daily workflow. No prior experience with Python or Vim is required.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Preface
-
Getting Started
- Technical requirements
- Let’s start a conversation (about modal interfaces)
- Installation
- Vanilla Vim vs gVim
- Configuring Vim with your .vimrc
- Common operations (or how to exit Vim)
- Moving around: talk to your editor
- Making simple edits in insert mode
- Persistent undo and repeat
- Read the Vim manual using :help
- Summary
- 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
Product information
- Title: Mastering Vim
- Author(s):
- Release date: November 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789341096
You might also like
video
Mastering Vim
Roughly half of all software developers use vi/Vim on a regular basis, but most of those …
video
Vim Masterclass
Do you know that most of the command-line experts use the powerful features of the Vim …
book
Learning the vi and Vim Editors, 8th Edition
Among the text editors being used in the programming community, perhaps the most important family is …
book
Modern Vim
Turn Vim into a full-blown development environment using Vim 8's new features and this sequel to …