Archive for the ‘A Byte of Vim’ Category

Why use Creative Commons license?

Friday, December 26th, 2008

Many people have asked me on why I released my Vim book under a Creative Commons license instead of getting it published.

(1) First of all, I did try to talk to publishers, hoping that I would convince them to release the book simultaneously under a free license as well as a printed version (which is true for many technical books these days). All the publishers I spoke to said there is no market for such a book and said no to the idea. But that didn’t deter me, because I really wanted to see such a book out there, so I wrote it anyway.

(2) Technical books readership is on the decline. It seems very few techies buy and read books, they just google it and solve their immediate problems vs. reading a whole book.

If you don’t believe me, see what John Resig, Charles Petzold, Jeff Atwood and Eric Sink have to say on the subject.

(3) I had a concern bigger than not getting it published, it was that nobody would get to know about the book and hence the book would go in vain. Since money was not a motivating factor in this particular case, I was far more interested in seeing lots of readers and widespread usage than to see fewer readers with the published book although the latter would make me more money.

Tim O’Reilly’s words remained stuck in my mind:

“Obscurity is a far greater threat to authors and creative artists than piracy.”

Of course, I did have a printed books option, so I still could have made money just like 37 Signals did with their “Getting Real” book which was free to read online plus available as a paid PDF download. Unfortunately, it seems I lack their marketing pizzazz.

(4) The book was intended to be a contribution back to the open source community. We constantly keep taking and taking - whether it is using Linux, Vim, Firefox, or countless other software, so it felt great to be useful to the community in return.

As Steve Jobs said:

You know, we don’t grow most of the food we eat. We wear clothes other people make. We speak a language that other people developed. We use a mathematics that other people evolved… I mean, we’re constantly taking things. It’s a wonderful, ecstatic feeling to create something that puts it back in the pool of human experience and knowledge.

(5) My experience has been that a lot of people would like to translate such books to their native languages to help more people use the software. So, I’m happy to see volunteers now translating the new Vim book to Chinese, Russian and Swedish languages!

I needed a balanced approach to what I was trying to achieve, and all the above reasons led me to use a Creative Commons license.

Great response to ‘A Byte of Vim’

Saturday, November 29th, 2008

It has been three days since I released my Vim book. I’m very happy with the response.

For starters, there has been 5003 PDF downloads, 14,715 unique visitors and 35,129 page views. That’s in just three days!

Second, I’m glad to see the kind of responses that I was hoping for:

@raseel says “Great Book !! Although I use vim everyday as an editor as well as an ide, the book makes u realise how much more it can do.”

@techpickles says “have been thumbing through ‘byte of vim’. learning a ton even having used vim for years.”

I’m happy to see people discovering that Vim can do more, way more than people know about. There is a lot of power underneath the hood and it is a tragedy that it goes unnoticed even by long-time Vim users. Years ago, I started to wonder if I could change that situation and that’s when I started writing the book.

Regarding the responses via Twitter, it was interesting to see how fast the information was spreading. I could see retweets (linking to the book) being passed on from someone in Switzerland to someone in Ireland to someone in USA and so on, in quick succession.

Most of the traffic came from Reddit and Hacker News, so many thanks to those readers who submitted the news to these discussion sites. Seeing ‘A Byte of Vim’ as the top link on Hacker News for more than a day put me on a geek high.

Most of the feedback was from the vim.org mailing list where people were really happy to see the news. I’ve added some of these feedback to the What Readers Say section of the book’s front page.

There has been a lot of contributions to the wiki in terms of “bug fixes” i.e. typo corrections, grammar corrections and procedure corrections. It feels like a ton of editors are holding a magnifying glass to the book :)

One of the more exciting mails I received was from Yeh, Shih-You who wanted to start a Chinese translation! He said:

My name’s Yeh, Shih-You, a programmer and a Linux-lover from Taiwan. Having been using Vim for about 3 years, I found out that getting the most out of Vim suddenly becomes a necessity, in order to improve productivity as well as efficiency. Your book came out at the perfect time.

I’m interested in contributing translations in Traditional Chinese. Thanks for all the effort you’ve put into this book.

Now that is awesome.

On a side note, it’s amazing to note that even for my previous book, the number of mails from Chinese readers have increased dramatically in the past couple of years. So, in a way, I shouldn’t have been surprised that the Chinese translation was the first one to be started for the new book as well. The Chinese guys are already on the forefront of hardware manufacturing, but now seeing firsthand that they are so hungry to learn and devouring information online, it is hard not to imagine them at the forefront of software in a few years as well.

To sum it up, I’m happy with the response, although I would’ve been happier if a good number of print copies were sold, as well as more community contributions in terms of content such as new topics and chapters.

Many people are surprised and curious on why I choose to release my book under a Creative Commons license, I shall explain that in a different post later.

Announcing my free book on Vim

Tuesday, November 25th, 2008

Today is the first day of foss.in/2008, and on this occasion, I’m happy to announce the first public release of my Creative-Commons licensed book on the Vim 7 editor.

This book is meant for both beginners and advanced users.

For beginners, it walks you through the first steps to learning about modes, discusses about typing skills to be effective and moves on to the editing basics.

This book will definitely appeal more to people who are Vim users already because it helps add a huge number of tricks to their arsenal, whether it is more efficient editing, personal information management, coding your own plugins or making Vim a programmers’ editor.

I hope that fellow Vimmers will find these notes useful. Even though it is in a book format, the writing style is more like a tutorial and is informal, which should be familiar to readers of my Python book.

Both books are under the Creative Commons Attribution-ShareAlike 3.0 license, so you’re free to download it, email it, share it and improve it. In fact, the book is on a wiki, so you can just click on ‘Edit’ in the left sidebar of any chapter to improve the book in a matter of seconds. When in doubt, please use the ‘Discussion’ link to add your suggestions and comments.

For those who prefer reading books they can hold in their hand, please consider purchasing a printed copy of the book. This will also help support the continued development of the book.

For those PHP gurus familiar with GeSHi syntax highlighting, I would greatly appreciate any help in improving my vim syntax highlighting source, especially in handling Vim-style comments, etc. Please mail me if you can help.

This book has been in the works for several years, so I’m glad to see it finally in good enough shape for releasing it. Although I haven’t done as many rewrites as I would have been satisfied with, I decided it was better to <insert cliché of “Release Early, Release Often.”>

I dedicate this release to foss.in and GTD principles.