or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
30 used & new from $30.43

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 your Kindle 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)

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

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

Want it delivered Tuesday, December 8? Choose One-Day Shipping at checkout. Details
Ordering for Christmas? This item requires additional time to ship. To ensure delivery by December 24, choose FREE Super Saver Shipping at checkout. Read more about holiday shipping.

22 new from $30.45 8 used from $30.43

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 + Learning the vi and Vim Editors + VI Editor Pocket Reference
Price For All Three: $64.61

Show availability and shipping details

  • 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

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Learning the vi and Vim Editors by Elbert Hannah

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • VI Editor Pocket Reference by Arnold Robbins

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

Learning the vi and Vim Editors

Learning the vi and Vim Editors

by Elbert Hannah
5.0 out of 5 stars (6)  $23.09
Vi iMproved (VIM)

Vi iMproved (VIM)

by Steve Oualline
3.8 out of 5 stars (22)  $36.49
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.6 out of 5 stars (12)  $31.49
VI Editor Pocket Reference

VI Editor Pocket Reference

by Arnold Robbins
3.9 out of 5 stars (17)  $9.95
Programming Clojure (Pragmatic Programmers)

Programming Clojure (Pragmatic Programmers)

by Stuart Halloway
4.6 out of 5 stars (16)  $21.75
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.5 x 0.7 inches
  • Shipping Weight: 15.5 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: #233,883 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #52 in  Books > Computers & Internet > Microsoft > Word Processing
    #95 in  Books > Computers & Internet > Business & Culture > Hacking

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
59% 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)
$31.57
Learning the vi and Vim Editors
30% buy
Learning the vi and Vim Editors 5.0 out of 5 stars (6)
$23.09
Vi iMproved (VIM)
4% buy
Vi iMproved (VIM) 3.8 out of 5 stars (22)
$36.49
VI Editor Pocket Reference
4% buy
VI Editor Pocket Reference 3.9 out of 5 stars (17)
$9.95

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(13)
(7)
(4)

Your tags: Add your first tag
 

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

 
28 of 30 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)



 
37 of 42 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 7 months 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 10 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 18 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 19 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 20 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 20 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 20 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 on October 14, 2007 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 on October 3, 2007 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 on September 5, 2007 by Thiago Alves

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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


Active discussions in related forums
Discussion Replies Latest Post
Linux virus protection? 16 5 days ago
For those wanting to try linux 42 5 days ago
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

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.


Your Recent History

 (What's this?)

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