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

Preface

Mastering Vim will introduce you to the wonderful world of Vim through examples of working with Python code and tools in a project-based fashion. This book will prompt you to make Vim your primary IDE, since you will learn to use it for any programming language.

Who this book is for

Mastering Vim has been 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.

What this book covers

Chapter 1, Getting Started, introduces the reader to basic concepts and the world of Vim.

Chapter 2, Advanced Editing and Navigation, covers movement and more complex editing operations, and introduces a number of plugins.

Chapter 3, Follow the Leader – Plugin Management, talks about modes, mappings, and managing your plugins.

Chapter 4, Understanding the Text, helps you interact with, and navigate, code bases in a semantically meaningful way.

Chapter 5, Build, Test, and Execute, explores options for running code in, or alongside, your editor.

Chapter 6, Refactoring Code with Regex and Macros, takes a deeper look at refactoring operations.

Chapter 7, Making Vim Your Own, discusses options available for further customizing your Vim experience.

Chapter 8, Transcending the Mundane with Vimscript, dives into the powerful scripting language Vim provides.

Chapter 9, Neovim, showcases one of Vim's younger siblings.

Chapter 10, Where to Go from Here, provides some farewell food for thought and points at a few places on the internet you might be interested in.

Download the example code files

The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/Mastering-Vim. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

In addition, you can download the example code files for this book from your account at www.packt.com. If you purchased this book elsewhere, you can visit www.packt.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packt.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

Conventions used

There are a number of text conventions used throughout this book.

CodeInTxt: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."

A block of code is set as follows:

" Manage plugins with vim-plug.
call plug#begin()
call plug#end()

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

" Manage plugins with vim-plug.
call plug#begin()

Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-vinegar'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'mileszs/ack.vim'
Plug 'easymotion/vim-easymotion'

call plug#end()

Any command-line input is written as follows:

$ cd ~/.vim
$ git init

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: If you have questions about any aspect of this book, mention the book title in the subject of your message and email us at customercare@packtpub.com.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packt.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at copyright@packt.com with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in, and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packt.com.

lock icon The rest of the chapter is locked
Next Chapter arrow right
You have been reading a chapter from
Mastering Vim
Published in: Nov 2018 Publisher: Packt ISBN-13: 9781789341096
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}