Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Ready-to-use hacks with solutions for common situations encountered by users of the Vim editor

  • Create, install, and use Vim scripts to extend Vim's functionality

  • Personalize your work-area to fit your workflow

  • Optimize your Vim editor to be faster and more responsive

  • Packed with tips and tricks based on the author's practical experience

In Detail

Vim is one of the most powerful open-source editors used by programmers and system administrators around the world. While Vim itself is inherently a powerful editor, personalizing it to suit your needs can be a daunting task. However, it is possible to do so with the help of this book.

This book contains examples that cover everything from personalizing Vim according to the your work cycle to optimizations that will boost the your productivity. The main focus of this book is to make your life, as a Vim user, easier.

Each chapter deals with a different aspect, and provides recipes for easy-to-use hacks to customize and simplify your Vim experience. After an introduction covering the derivation of Vim and its relatives from the vi editor, the author explains basic changes that you can make to the appearance of the Vim editor. Further chapters cover improved navigation through files and buffers in Vim; speeding up your work with templates, auto-completion, folding, sessions, and registers; and formatting text and code, including using external formatting scripts. The final comprehensive chapter covers everything about using Vim scripts and scripting to extend functionality.

This book is written for Vim 7.2, the latest stable version. This latest version of Vim includes many new features like spell-checking, code completion, document tabs, current line and column highlighting, undo branches, and much more.

Getting the most out of the Vim editor

Subscriber Reviews

Average Rating: 4.25 out of 5 rating Based on 4 Ratings

"Good Depth, and too the point description" - by Loveen on 02-NOV-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is an excellent reference, for people using VIM as programing IDE and advanced Editing. It covers good breadth of VIM features.

I think it lacks number of examples for usage and configuration of VIM; but that is not at all a show stopper. It is highly reccomended for people who want to use VIM as their primary editor.

Report as Inappropriate


The publisher has provided additional content related to this title.


Downloading the example code for this book

  • You can download the example code files for all Packt books you have purchased from your account at
  • If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.