Preface

    Why Vim?

    Let’s face it, it’s very rare to produce your best work on the first attempt. Most likely, you will keep editing it frequently until it becomes ‘good’.

    As Louis Brandeis once said:

    I have been using the Vim editor ever since I learned to use the old vi editor during Unix classes in college. Vim is one of the few pieces of software that I use for nearly 10 hours a day. I knew there were just so many features that I didn’t know about but could potentially be useful to me, so I started exploring Vim little by little.

    To crystallize my understanding and to help others also explore Vim, I started writing this collection of notes, and called it a book.

    Some of the principles I have tried to keep in mind while writing these notes are:

    1. Simple literature. The importance of this should be reinforced again and again.
    2. The one-stop shop for readers to learn Vim - from getting started to learning advanced stuff.
    3. Get the user to understand how to do things the Vim way - from modes to buffers to customization. Most people learn only the basic vi commands and do not attempt to learn anything beyond that. Learning such concepts is the tipping point, they become hardcore Vim users i.e. Vimmers, which means they extract the most out of Vim, which is the intent of this book.
    4. A lot of things are documented and stored here as a reference for people such as how to use Vim as an IDE, etc. There are various ways of doing it and instead of the user struggling to figure out which plugins to try out, the book already has the basic background work already for the reader.
    5. Relatedly, the book shouldn’t attempt to rewrite the reference manual. Where appropriate, it should simply point out the relevant parts. This way, there is no redundancy, the user learns to use the awesome built-in reference manual which is important, and the book can stand on its own strengths as well.

    Status of the Book

    The book was a work-in-progress and last updated in 2008. Eight years later (2016), I recreated the book in . So let’s just say it was a “1.0” book in 2008 :-)

    Constructive suggestions are most welcome. Please send your thoughts and suggestions via email or .

    The official website of the book is {{ book.officialUrl }} . From the website, you can read the whole book online or download the latest versions of the book, and also send me feedback.

    Something To Think About