Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
26 used & new from $19.97

Have one to sell? Sell yours here
 
   
Hacking Vim: A Cookbook to get the Most out of the Latest Vim Editor: From personalizing Vim to productivity optimizations: Recipes to make life easier for experienced Vim users
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Hacking Vim: A Cookbook to get the Most out of the Latest Vim Editor: From personalizing Vim to productivity optimizations: Recipes to make life easier for experienced Vim users (Paperback)

by Kim Schulz (Author)
3.8 out of 5 stars See all reviews (14 customer reviews)

List Price: $39.99
Price: $35.99 & this item ships for FREE with Super Saver Shipping. Details
You Save: $4.00 (10%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, July 7? Choose One-Day Shipping at checkout. Details
20 new from $32.14 6 used from $19.97

Frequently Bought Together

Hacking Vim: A Cookbook to get the Most out of the Latest Vim Editor: From personalizing Vim to productivity optimizations: Recipes to make life easier for experienced Vim users + Vi iMproved (VIM) (Landmark) + Learning the vi and Vim Editors
Price For All Three: $95.57
  • This item: Hacking Vim: A Cookbook to get the Most out of the Latest Vim Editor: From personalizing Vim to productivity optimizations: Recipes to make life easier for experienced Vim users by Kim Schulz
  • Vi iMproved (VIM) (Landmark) by Steve Oualline
  • Learning the vi and Vim Editors by Arnold Robbins

Customers Who Bought This Item Also Bought

Learning the vi and Vim Editors

Learning the vi and Vim Editors

by Arnold Robbins
5.0 out of 5 stars (6)  $23.09
bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O'Reilly))

bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O'Reilly))

by Carl Albing
4.5 out of 5 stars (11)  $31.49
Beautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly))

Beautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly))

by Andy Oram
3.4 out of 5 stars (38)  $40.12
Mastering Regular Expressions

Mastering Regular Expressions

by Jeffrey Friedl
4.5 out of 5 stars (132)  $29.69
Programming Collective Intelligence: Building Smart Web 2.0 Applications

Programming Collective Intelligence: Building Smart Web 2.0 Applications

by Toby Segaran
4.5 out of 5 stars (48)  $26.39
Explore similar items

Editorial Reviews

Product Description

From personalizing Vim to productivity optimizations: Recipes to make life easier for experienced Vim users

  • Create, install, and use Vim scripts
  • Personalize your work-area
  • Optimize your Vim editor to be faster and more responsive

In Detail

Each chapter of this book 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.

Vim stands for Vi IMproved and is the editor of choice for programmers looking for a highly configurable, stable, open-source, multi-platform text editor. It is included with almost every Linux distribution as the standard text editor, and can be used to work with source code from any language. A big advantage of using Vim is that it can be extensively customized; you can control the basic interface, define personalized key mappings, implement macros, and call external or user-defined scripts. Vim has its own scripting language that allows for plug-in like extensions to enable IDE behavior, syntax scripts and highlighting, color schemes, themes, and utility scripts that can add a wide range of features and functionality. Vim 7.0, for which this book is written, includes spell-checking, code completion, document tabs, current line and column highlighting, undo branches, and more.

What you will learn from this book?

Chapter 1 introduces Vim and a few well-known relatives; their history and relation to vi is briefly described.

Chapter 2 introduces how to make Vim a better editor for you by modifying it for your personal needs. It shows us ways of modifying fonts, the color scheme, the status line, menus, and toolbar.

Chapter 3 introduces some of the ways in which Vim helps us to navigate through files easily. It explains an alternative way for boosting navigation through files and buffers in Vim.

Chapter 4 introduces you to features in Vim. It describes how to use templates, auto-completion, folding, sessions, and registers.

Chapter 5 introduces simple tricks to format text and code. It also discusses how external tools can be used to give Vim just that extra edge it needs to be the perfect editor.

Chapter 6 is especially for those who want to learn how to extend Vim with scripts. The chapter introduces scripting basics, how to use and install/uninstall scripts, debugging scripts, and lots more.

Appendix A has a listing of games that have been implemented with Vim scripting; it also provides an overview of chat and mail scripts and has a section on using Vim as an IDE.

Appendix B shows how to keep your Vim configuration files well organized and how to retain your Vim configuration across computers by storing a copy of it online.

Approach

This is a cookbook packed with ready-to-use hacks that give solutions for some of the commonest problems users of the Vim editor encounter during their daily use. Each recipe follows a systematic approach with a self-contained description of the task it covers, how to use it, and what you gain by using it. The reader can read any of the hacks in this book without having to read any of the other hacks-where necessary they include cross-references to other relevant hacks. The minimum version of Vim required for each hack is clearly indicated.

Who this book is written for?

Anyone who has worked with Vim and wants to get more out of this legendary text editor can use the hacks from this book. It does not cover the basic tasks of using the editor but instead focuses on making life easier for more experienced Vim users.



About the Author

Kim Schulz

Kim Schulz has an M.Sc. in Software Engineering from Aalborg University in Denmark. He has been an active developer in the Linux and Open Source communities since 1997 and has worked with everything from translation and bug fixing to producing full-blown software systems. This entire time, Vim has been Kim's editor of choice and it has been the first thing he installs whenever he sits by a new computer. Today Kim works as a full-time software engineer at CSR Plc. developing software for the next generation wireless technologies. A lot of Kim's spare time has been spent on developing the open-source CMS Fundanemt. This has lead to him now owning the web-hosting company Devteam Denmark that specializes in hosting and development of Fundanemt-based websites.


Product Details

  • Paperback: 228 pages
  • Publisher: Packt Publishing (May 25, 2007)
  • Language: English
  • ISBN-10: 1847190936
  • ISBN-13: 978-1847190932
  • Product Dimensions: 9.1 x 7.4 x 0.6 inches
  • Shipping Weight: 14.4 ounces (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars See all reviews (14 customer reviews)
  • Amazon.com Sales Rank: #394,909 in Books (See Bestsellers in Books)

Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Do Customers Ultimately Buy After Viewing This Item?

Hacking Vim: A Cookbook to get the Most out of the Latest Vim Editor: From personalizing Vim to productivity optimizations: Recipes to make life easier for experienced Vim users
52% buy the item featured on this page:
Hacking Vim: A Cookbook to get the Most out of the Latest Vim Editor: From personalizing Vim to productivity optimizations: Recipes to make life easier for experienced Vim users 3.8 out of 5 stars (14)
$35.99
Learning the vi and Vim Editors
35% buy
Learning the vi and Vim Editors 5.0 out of 5 stars (6)
$23.09
Vi iMproved (VIM) (Landmark)
6% buy
Vi iMproved (VIM) (Landmark) 3.8 out of 5 stars (22)
$36.49
Mastering Regular Expressions
5% buy
Mastering Regular Expressions 4.5 out of 5 stars (132)
$29.69

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(13)
(7)
(4)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

14 Reviews
5 star:
 (4)
4 star:
 (6)
3 star:
 (2)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
27 of 29 people found the following review helpful:
3.0 out of 5 stars Very good book on Vim, August 6, 2007
By Noah Spurrier (SAN FRANCISCO, CA USA) - See all my reviews
(REAL NAME)   
I like this book. It is concise. It assumes that you are probably comfortable with Vim, but want to get more out of Vim. You can easily skip around and browse difference recipes. I also like the fact that it packs in a lot of info in a slim volume. So many authors tend to give too much detail. I like a book like this because
it gives you enough to get you started and no more.

The only downside of this book is that it's $40 for 210 pages. I think that pretty pricey even in the over-priced world of technical books. If this book were $10 I would buy copies for my friends. If this book were $20 I would buy it without reservations. If this book were $30 then I would not be complaining about the price.
But at $40 I'm tempted to say that someone who is moderately motivated could probably save their money and use :h and the vimtips.
Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
36 of 41 people found the following review helpful:
2.0 out of 5 stars Poor reference. Maybe good for beginners+., August 15, 2007
By Ted Pavlic (Columbus, OH USA) - See all my reviews
(REAL NAME)   
This book sells itself as a cookbook for Vim experts. However, it reads like it is written for a juvenile audience that has only recently opened Vim a few times. At points where the book starts to get interesting, it refers the reader to Vim help docs.

Its table of contents is longer (4 pages, two front and two back) than its index (3 pages, two front and one back). I expected to be able to pick this book up and use it as a Vim7 reference. This really isn't possible with this book.

This book has merit, but it's overpriced, and it isn't what it claims to be. Someone needs to write a complete and updated Vim reference. For now, this book mind remind you of a few cool features of Vim, but it will not change your world.

Personally, I get more out of the Vim quick reference cards I have taped around my desk.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
19 of 20 people found the following review helpful:
4.0 out of 5 stars Good book, but needs more practica information, October 28, 2007
Throughout the years, there have been many clones and re-implementations of the venerable vi editor. One variant of vi that emerged and stayed with us is VIM. Since it's introduction, VIM has proven itself a worthy successor to the traditional vi editor. VIM has rightfully taken the place of standard vi implementations as the spiritual successor to vi, completely replacing the vi editor on many, if not all of the current Linux distributions. Many improvements have been made to VIM such as tabs, spell checking, folding, and many, many more. However many of these new enhancements may still remain hidden to anyone who isn't keeping up on the cutting edge of VIM development. Hacking VIM is a good resource for becoming more familiar with the new features of VIM and how to make them work best for you.

Hacking VIM is a short book, weighing in at a scant 210 pages. The book contains six chapters, and two appendices. The first chapter covers the history of VIM, and the lineage of vi clones that preceded it. Chapter 2 covers personalizing VIM. This chapter covers how to really take VIM and customize it for your own needs, from changing the fonts and colors for GVIM to personalizing the status bar, and using tabs. Chapter 3 deals with navigating better in VIM, whether it's in a singular file, or a group of files (which is especially important for several programming environments). Chapter 4 discusses the many productivity enhancements of VIM, such as templates, auto-completion, code folding, sessions, and the built in diff mode. Advanced formatting is covered in chapter 5, which has a few interesting tips on making code look better. Rounding out the book (and weighing in as the largest chapter of the book) is scripting VIM. VIM has excellent scripting capabilities, and this chapter covers them in great detail, from finding scripts to writing your own. Lastly, the Appendix covers some of the neat scripts available for VIM, such as a minesweeper game, and the obligatory Towers of Hanoi puzzle and mail client (because no software is considered done until it reads mail and news. :) )

Hacking VIM prefaces each tip with which version of VIM will work with each function. There were only a few instances where I noticed that a particular function was mis-marked as requiring a later version of VIM that actually worked with earlier versions. The book also contains good images which help demonstrate some of the more visual components of VIM, like tabs, folding, and the spell checker.

Hacking VIM is chock-full of useful tips for getting the most out of VIM. The book is aimed at those who have already gained some familiarity with the VIM editor, and is by no means a tutorial for the novice user. There is clearly a bias in this book to the intermediate and advanced VIM users. Unfortunately, this is at odds with the first chapter, which starts with a history of the VIM editor. This wastes some of the space of the book, and would have been best used with more unique and different tips. Also, having some experience with VIM, I found certain tips weren't worth the trouble, and others quite confusing. The section on signs was a bit confusing, and I'm still unclear on why they're worth the trouble. There were several instances where I wondered what the productive benefit of a tip would be. On the other hand, I did find several tips invaluable. It's easy to overlook new functions in the CHANGELOGs, so I missed that newer versions of VIM had integrated spell-checking. Overall, Hacking VIM had enough good tips in it that I hadn't discovered on my own to make it worth the read.

Like most editors, VIM can induce editor fiddling sessions that result in little work being done, and Hacking VIM contains lots of fodder to make even the most ardent tweaker happy. Unless you carefully follow the mailing lists for VIM, and try every new feature as it is released, you might miss some really helpful productivity enhancers. My only wish for this book would be more focus on really productive tips, and less history about the other versions of vi that didn't survive. Hacking VIM may have lots of "of course" items for the truly seasoned VIM user, but for those of us who don't keep up-to-date with the latest features, Hacking VIM is an excellent way to get more familiar with some of the truly great features that have been introduced in later VIM versions.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

4.0 out of 5 stars Hacking Vim Review
The book has a good content, well written. I disagree with the price, because the quality of paper used.
Published 1 month ago by Vin Diesel

5.0 out of 5 stars Great book on Vim, does exactly what is says...
Based on some of the other reviews I thought that this book would be less "technical" than it appeared. Those reviews were clearly wrong. Read more
Published 5 months ago by Chad R. Mayfield

4.0 out of 5 stars Improving Your Vim Experience
The book "Hacking Vim" provides a number of tips, hints, setup ideas, scripts, functions, and ways of improving the Vim experience. Read more
Published 13 months ago by KN

1.0 out of 5 stars So underwhelmed
Do not buy this book.

To quote another, what's original is not interesting and what's interesting is not original.
Published 13 months ago by G. Gerard

4.0 out of 5 stars Good amount of information
There is a lot of information in this book. It wastes no time or space describing the many ways to make your Vim experience even more efficient than it already is. Read more
Published 15 months ago by Aaron Jensen

3.0 out of 5 stars overpriced, but a pretty good survey
It's not entirely clear who the target market for this book is. Clearly, someone new to vim is not the audience, because it provides no help for those who are unfamiliar with vi... Read more
Published 15 months ago by Brian E. Mitchell

4.0 out of 5 stars Review of Hacking Vim
Hacking Vim is a cookbook for becoming more productive using Vim and GVim. At 200 pages, it is not a large book, but it is packed with recipes and tips. Read more
Published 15 months ago by Carlos de la Guardia

5.0 out of 5 stars teaching an old vi dog new tricks
I've used vi for a very long time, and vim under Windows and Linux for a bit less time.

This book is teaching me stuff I didn't know.
Published 21 months ago by James W. Ramsey Jr.

5.0 out of 5 stars You can do anything in VIM...
The book consists of inspiring ideas for people who work everyday with VIM. It is an excellent starting point to go beyond standard usage of the editor. Read more
Published 21 months ago by Zbigniew Kowalski

5.0 out of 5 stars An amazing cookbook to an amazing editor
This book is an excellent cookbook to usual works on Vim. If you want to know some new tricks on this amazing editor, give this book a try. Read more
Published 22 months ago by Thiago Alves

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Items Eligible for Free Super Saver Shipping

Beauty benefit tint
Check out all items in beauty that are elligible for free super saver shipping and prime.

See more Prime-eligible beauty items

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Organize Your World

Shop for storage products
Choose from the large selection of storage and organization products available in the Home Improvement Store.

Shop for more storage products now

 

Guiding Light

Shop for LED flashlights
When you're stuck in the dark an LED flashlight is a long-lasting, energy-saving solution.

Shop for LED flashlights

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates