<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Swaroop C H - India, Technology, Life Skills &#187; A Byte of Vim</title>
	<atom:link href="http://www.swaroopch.com/blog/category/byte-of-vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swaroopch.com</link>
	<description>Conning people into thinking I&#039;m intelligent. Since 1982.</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:52:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My Bash and Vim setups</title>
		<link>http://www.swaroopch.com/blog/bash-vim-setup/</link>
		<comments>http://www.swaroopch.com/blog/bash-vim-setup/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 03:15:32 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[A Byte of Vim]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[bash-vim-setup]]></category>

		<guid isPermaLink="false">http://www.swaroopch.com/?p=3321</guid>
		<description><![CDATA[I find it surprising on how little time coders spend on their development environment (the "dev env"). A good dev env is necessary for any coder because we do searching, refactoring, editing and updating of code more than just appending new code.]]></description>
			<content:encoded><![CDATA[<p>I find it surprising on how little time coders spend on their development environment (the &#8220;dev env&#8221;). And especially, I find it amusing that I can find, refactor and test code way faster than the Netbeans IDE users in my office, with just a shell and Vim setup.</p>

<p>So why is a good dev env necessary? Because we do searching, refactoring, editing and updating of code much more than appending fresh code, and this also applies to code that you wrote half an hour ago, because you will want to quickly refactor it when a new constraint, a new requirement, a new design or a new idea comes to your mind.</p>

<p>I learned this lesson while I was writing my <a href="http://www.swaroopch.com/notes/Vim">Vim book</a>. Since then, I have been investing quite a bit of time on my <code>vimrc</code> file, heavily customized to my liking.</p>

<p>To give one very quick example &#8211; I like the cursor to always be at the middle of the window (as opposed to at the bottom of the screen when you&#8217;re scrolling down), so that I can see the lines of code before and after the current line. To achieve this, you simply <a href="http://vimhelp.appspot.com/options.txt.html#%27scrolloff%27">set scrolloff=999</a> and you&#8217;re done. A one-line setting, but it makes a world of difference in usage.</p>

<p>Extrapolate this to dozens of customizations and you have just optimized your environment for lesser time at the keyboard, lesser time fighting the editor, and more time on the actual code. You do <em>not</em> want to break your flow of thought because you&#8217;re unable to quickly switch between the right files (say, between the controller and the view files), and so on. <a id="fn1-text" href="#fn1">[1]</a></p>

<p>These customizations are stored in <code>.vim</code> and <code>.bashrc</code> files, collectively referred to as &#8220;dotfiles&#8221;. I have been asked quite a few times by readers of my book to share my dotfiles, but I was not comfortable to share it because I felt it was too hacked up and did not have a good &#8220;base&#8221;.</p>

<p>So when I came across <a href="https://github.com/revans/bash-it">bash-it</a> and <a href="https://github.com/MarcWeber/vim-addon-manager">vim-addon-manager</a>, I knew they were good foundations and a good excuse for me to overhaul my bash and vim setups.</p>

<p><strong>And lo, behold, my <a href="https://github.com/swaroopch/dotbash">dotbash</a> and <a href="https://github.com/swaroopch/dotvim">dotvim</a> repos</strong> (on GitHub).</p>

<p>These are my actual working environments at office and on my personal laptop, so if you don&#8217;t agree with some of my defaults, fork away.</p>

<p>Now, on to what is interesting about my setup&#8230;</p>

<h2>What bash-it provides</h2>

<p><a href="https://github.com/revans/bash-it">bash-it</a> provides great defaults and aliases, right from <code>..</code> as a shortcut for <code>cd ..</code> and <code>...</code> for <code>cd ../..</code> to bash completion setups for git, rake, etc., and of course, a gorgeous theme to use:</p>

<p><img src="http://farm6.static.flickr.com/5166/5233776966_1f9cae40ac.jpg" width="500" height="106" alt="Bash prompt" title="Bash prompt provided by bash-it"/></p>

<p>The best part though is it&#8217;s neat organization into aliases, completion, custom, lib, plugins, themes and template folders. That makes a big difference in the long run, for the same reasons why a cleanly modularized codebase is better than one giant script.</p>

<p>And it will get various new features over time contributed by the community, example, <a href="https://github.com/revans/bash-it/pull/31">completion of server names for ssh</a>.</p>

<h2>What vim-addon-manager provides</h2>

<p><a href="https://github.com/MarcWeber/vim-addon-manager">vim-addon-manager</a> provides a super-simple way to install plugins into separate folders and then use them all, instead of lumping all of them together into a <code>.vim</code> folder. Just add the name of a new Vim plugin to the list of plugins you want to load, and it will automatically fetch the plugin and install it for you! This makes it easy to play around with new plugins as well as a simple way of having the latest version of the Vim plugins.</p>

<p>I use <code>vim-addon-manager</code>, but there are alternatives &#8211; others prefer <a href="http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/">pathogen.vim</a> and there is also <a href="https://github.com/c9s/Vimana">Vimana</a> which gives you an <code>apt-get</code>-like command to search for Vim plugins. Choose your weapon.</p>

<p>There are caveats to vim-addon-manager, mainly that all plugins don&#8217;t seamlessly work with it. For example, I couldn&#8217;t get <a href="https://github.com/kevinw/pyflakes-vim">pyflakes.vim</a> to work with it, so I had to unzip pyflakes into my regular <code>.vim</code> directory to use it.</p>

<h2>My Bash customizations</h2>

<p>Ever since I saw <a href="http://gemedit.rubyforge.org/">gemedit</a>, I wanted something like that for Python eggs, and I realized that it was easy because Python modules have a <code>__file__</code> attribute that I can use, and I <a href="https://github.com/swaroopch/dotbash/blob/develop/plugins/python.plugin.bash">created my own egg_edit command</a> to do the same trick. Similarly, I have my own <a href="https://github.com/swaroopch/dotbash/blob/develop/plugins/rsync.plugins.bash">sync command</a> with the settings that I prefer, etc.</p>

<h2>tmux setup</h2>

<p>tmux is a modern alternative to GNU Screen which is a common arsenal in any Unix coder&#8217;s war-chest. I prefer to use tmux because it makes it easy to <a href="http://toastdriven.com/fresh/scripting-tmux/">script sessions</a> which makes it super-easy to start a new session working on a project. <a href="https://gist.github.com/728896">For example</a>:</p>

<script src="https://gist.github.com/728896.js?file=flask-boilerplate-tmux.bash"></script>


<p>Put this as <code>flask-boilerplate-tmux.bash</code> into the <code>custom</code> folder of your bash-it/dotbash folder, and then you can run <code>flask-boilerplate-tmux</code> any time to start a new session to work on the <a href="https://github.com/swaroopch/flask-boilerplate">flask-boilerplate</a> codebase! ( <strong>Update</strong> : Check out <a href="https://github.com/remiprev/teamocil">Teamocil</a> which will allow you to do the same with a simple yaml config file )</p>

<p>I have a highly customized <a href="https://github.com/swaroopch/dotbash/blob/develop/configs/tmux.conf">tmux configuration</a> which sets many good default settings, especially starting the numbering of the windows from 1 (switching between 0 and 1 is painfully because they are at the opposite ends of the keyboard).</p>

<h2>autojump</h2>

<p>A good Bash plugin to use is <a href="https://github.com/joelthelion/autojump/wiki">autojump</a> which monitors which directories you spend most of your time in, and then makes it easy to jump to your most favorite directories using a simple <code>j</code> command.</p>

<p>Don&#8217;t forget to use <code>jumpstat</code> to see which are those directories. Also, bash-it/dotbash provides a command called <code>rh</code> that does something similar.</p>

<p>Note that I have started using autojump only recently, so I don&#8217;t have as much experience using it as the other tools.</p>

<h2>My Vim customizations</h2>

<p>I have a <a href="https://github.com/swaroopch/dotvim/blob/develop/vimrc">fairly customized vimrc</a>, right from changing the status line to providing shortcuts like <code>:A</code> to copy the full buffer to the clipboard and <code>:B</code> for vice-versa, which I find it very useful in situations such as I am writing this article in Vim and can quickly copy/paste into WordPress when I am done with the draft. I also have a <code>\o</code> shortcut to open a URL that the cursor is on, and many other goodies.</p>

<h2>Vim plugins I use</h2>

<p>There are three Vim plugins which are must-have for me:</p>

<p>First is <a href="https://github.com/wincent/Command-T">command-t.vim</a> which is a &#8220;fuzzy finder&#8221; to quickly jump to another file under the current directory.</p>

<p><a href="http://www.flickr.com/photos/swaroop/5233230695/" title="command-t.vim"><img src="http://farm6.static.flickr.com/5208/5233230695_9ecc335091.jpg" width="500" height="254" alt="command-t.vim" /></a></p>

<p>Second is <a href="https://github.com/mileszs/ack.vim">ack.vim</a> which allows you to intelligently grep your source code for patterns and then jump to each occurrence in a split-window fashion.</p>

<p>My favorite feature is that I can search my code with <code>:Ack --python</code> or <code>:Ack --ruby</code> and it will ignore all the JavaScript libraries which can have the same variable or function names.</p>

<p><a href="http://www.flickr.com/photos/swaroop/5233827526/" title="ack.vim"><img src="http://farm6.static.flickr.com/5162/5233827526_3d1ca6f24b.jpg" width="500" height="255" alt="ack.vim" /></a></p>

<p>Third is <a href="http://code.google.com/p/conque/">conque shell</a> which allows you to to create a split window which can be any interpreter prompt.</p>

<p>The best part is that you can use a shortcut <code>\e</code> (assuming the default mapleader) to send the visually selected text to the interpreter prompt as if it was copy-pasted and it will execute it! This is incredibly helpful when you want to iterate the development of a multi-line function or fragment of code and you find extracting that code to a separate file and editing that file to be a pain (The interpreter prompts are designed for playing around with one-liners, they are simply not built for multi-line code).</p>

<p><a href="http://www.flickr.com/photos/swaroop/5233830908/" title="conqueshell.vim"><img src="http://farm6.static.flickr.com/5282/5233830908_db98206cdd.jpg" width="500" height="256" alt="conqueshell.vim" /></a></p>

<p>I have the following lines in my vimrc to quickly create ConqueShell sessions:</p>

<pre><code>command Shell :set nolist | ConqueTermSplit bash
command PythonShell :set nolist | ConqueTermSplit python
</code></pre>

<p>So, I quickly run <code>PythonShell</code> to create a new session.</p>

<h2>Setups by others</h2>

<p>For other Vim setups, see the <a href="https://github.com/carlhuda/janus">Janus repo on GitHub</a> which is used by Yehuda Katz himself. You&#8217;ll find many more on <a href="http://dotfiles.org/.vimrc">the dotfiles website</a>.</p>

<h2>Summary</h2>

<p>I&#8217;m hoping this article will help Vimmers and Bash users to broaden their usage and help them be more productive, the same intention behind my Vim book:</p>

<blockquote><p>&#8220;I used to play with vim for years. I think <a href="http://www.swaroopch.com/notes/Vim">this book</a> would have to save me much time if it was written 10 years ago! Anyways, thank you for this amazing work you are doing.&#8221;</p>

<p>&#8211; turky_samy (at) hotmail (dot) fr</p></blockquote>

<p>If you like what you have read so far, then go ahead and <a href="https://github.com/swaroopch/dotbash#readme">install dotbash</a> and <a href="https://github.com/swaroopch/dotvim#readme">install dotvim</a>.</p>

<p>Bottom line:</p>

<blockquote><p>&#8220;Give me six hours to chop down a tree and I will spend the first four sharpening the axe.&#8221;</p>

<p>&#8211; Abraham Lincoln</p></blockquote>

<br />


<hr />

<p><a id="fn1" href="#fn1-text">[1]</a> The flip side though is that I have been told &#8220;You&#8217;re the most mysterious guy in this office. No one understands what you&#8217;re doing when we see you coding.&#8221; Heh. Hopefully, it is not as mysterious after this article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/bash-vim-setup/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>No book on Emacs</title>
		<link>http://www.swaroopch.com/blog/no-book-on-emacs/</link>
		<comments>http://www.swaroopch.com/blog/no-book-on-emacs/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 02:11:41 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[A Byte of Vim]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.swaroopch.com/blog/no-book-on-emacs/</guid>
		<description><![CDATA[I&#8217;ve had a Skribit suggestion for my blog, with seven votes on it, that asks: Can you write a Byte Of Emacs? First of all, I&#8217;m flattered that 7 people out there like A Byte of Vim so much that they are asking about a similar book for Emacs. Second, it just won&#8217;t happen. Almost [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a <a href="http://skribit.com/suggestions/can-you-write-a-byte-of-emacs">Skribit suggestion for my blog</a>, with seven votes on it, that asks:</p>

<blockquote><p>Can you write a Byte Of Emacs?</p></blockquote>

<p>First of all, I&#8217;m flattered that 7 people out there like <a href="http://www.swaroopch.com/notes/Vim">A Byte of Vim</a> so much that they are asking about a similar book for Emacs.</p>

<p>Second, it just won&#8217;t happen. Almost never.</p>

<p>Why? Because:</p>

<ul>
<li>Writing a book is <em>hard</em>. It just sucks the life out of you. Really. Don&#8217;t believe me? Try writing one. Really.</li>
<li>Writing a book means I have to be at least reasonably proficient on that topic or at least have good experience with it.</li>
<li>I have used Emacs quite often in the past, especially for its SGML mode. But once I became proficient at Vim, I never went back.</li>
<li>There&#8217;s no incentive for me to learn about Emacs in depth and then write a book on it. There&#8217;s no point in trying to master two different but great editors!</li>
</ul>


<p>That being said, does anyone have a good resource list for Emacs for these 7 people? <img src='http://www.swaroopch.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/no-book-on-emacs/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Why use Creative Commons license?</title>
		<link>http://www.swaroopch.com/blog/why-use-creative-commons-license/</link>
		<comments>http://www.swaroopch.com/blog/why-use-creative-commons-license/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 09:49:44 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[A Byte of Vim]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://www.swaroopch.com/?p=1166</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>Many people have asked me on why I released <a href="http://www.swaroopch.com/notes/Vim">my Vim book</a> under a Creative Commons license instead of getting it published.</p>

<p>(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&#8217;t deter me, because I really wanted to see such a book out there, so I wrote it anyway.</p>

<p>(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.</p>

<p>If you don&#8217;t believe me, see what <a href="http://ejohn.org/blog/programming-book-profits/">John Resig</a>, <a href="http://www.charlespetzold.com/blog/2007/10/081247.html">Charles Petzold</a>, <a href="http://www.codinghorror.com/blog/archives/000971.html">Jeff Atwood</a> and <a href="http://www.ericsink.com/entries/poultry_magazines.html">Eric Sink</a> have to say on the subject.</p>

<p>(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 <a href="http://www.swaroopch.com/blog/response-to-vim-book/">lots of readers and widespread usage</a> than to see fewer readers with the published book although the latter would make me more money.</p>

<p><a href="http://tim.oreilly.com/pub/a/p2p/2002/12/11/piracy.html">Tim O&#8217;Reilly&#8217;s words</a> remained stuck in my mind:</p>

<blockquote><p>&#8220;Obscurity is a far greater threat to authors and creative artists than piracy.&#8221;</p></blockquote>

<p>Of course, I did have a <a href="http://www.swaroopch.com/buybooks/">printed books option</a>, so I still could have made money just like 37 Signals did with their &#8220;Getting Real&#8221; book which was free to read online plus available as a paid PDF download. Unfortunately, it seems I lack their <a href="http://www.chinmusicpress.com/blog/archives/2006/03/real_publishing_the_pdf_way.html">marketing pizzazz</a>.</p>

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

<p>As Steve Jobs said:</p>

<blockquote><p>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&#8230; 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.</p></blockquote>

<p>(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&#8217;m happy to see <a href="http://www.swaroopch.com/notes/Vim_en:Translations">volunteers now translating the new Vim book</a> to Chinese, Russian and Swedish languages!</p>

<p>I needed a balanced approach to what I was trying to achieve, and all the above reasons led me to use a <a href="http://www.swaroopch.com/notes/Vim#License_and_Terms">Creative Commons license</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/why-use-creative-commons-license/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Great response to &#8216;A Byte of Vim&#8217;</title>
		<link>http://www.swaroopch.com/blog/response-to-vim-book/</link>
		<comments>http://www.swaroopch.com/blog/response-to-vim-book/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 05:23:19 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[A Byte of Vim]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://www.swaroopch.com/?p=1035</guid>
		<description><![CDATA[It has been three days since I released my Vim book. I&#8217;m very happy with the response. For starters, there has been 5003 PDF downloads, 14,715 unique visitors and 35,129 page views. That&#8217;s in just three days! Second, I&#8217;m glad to see the kind of responses that I was hoping for: [@raseel](http://twitter.com/raseel/status/1024291090) says &#8220;Great Book [...]]]></description>
			<content:encoded><![CDATA[<p>It has been three days since I released my <a href="http://www.swaroopch.com/notes/Vim">Vim book</a>. I&#8217;m very happy with the response.</p>

<p>For starters, there has been <strong>5003 PDF downloads, 14,715 unique visitors and 35,129 page views</strong>. That&#8217;s <strong>in just three days</strong>!</p>

<p>Second, I&#8217;m glad to see the kind of responses that I was hoping for:</p>

<blockquote markdown="1">
[@raseel](http://twitter.com/raseel/status/1024291090) says &#8220;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.&#8221;
</blockquote>




<blockquote markdown="1">
[@techpickles](http://twitter.com/techpickles/status/1025775542) says &#8220;have been thumbing through &#8216;byte of vim&#8217;. learning a ton even having used vim for years.&#8221;
</blockquote>


<p>I&#8217;m happy to see people discovering that Vim can do more, <a href="http://www.swaroopch.com/notes/Vim_en:Table_of_Contents">way more</a> 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&#8217;s when I started writing the book.</p>

<p>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.</p>

<p>Most of the traffic came from <a href="http://www.reddit.com/r/programming/comments/7fhix/a_free_book_on_vim/">Reddit</a> and <a href="http://news.ycombinator.com/item?id=377278">Hacker News</a>, so many thanks to those readers who submitted the news to these discussion sites. Seeing &#8216;A Byte of Vim&#8217; as the top link on Hacker News for more than a day put me on a geek high.</p>

<p>Most of the feedback was from the <a href="http://groups.google.com/group/vim_use/browse_thread/thread/a525fc8ffcc13b82/220128947ee95a83#220128947ee95a83">vim.org mailing list</a> where people were really happy to see the news. I&#8217;ve added some of these feedback to the <a href="http://www.swaroopch.com/notes/Vim#What_Readers_Say">What Readers Say</a> section of the book&#8217;s front page.</p>

<p>There has been a lot of contributions to the wiki in terms of &#8220;bug fixes&#8221; i.e. typo corrections, grammar corrections and procedure corrections. It feels like a ton of editors are holding a magnifying glass to the book <img src='http://www.swaroopch.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p>One of the more exciting mails I received was from <a href="http://www.swaroopch.com/notes/User:Yesyo">Yeh, Shih-You</a> who wanted to start a <a href="http://www.swaroopch.com/notes/Vim_zh-tw:%E7%9B%AE%E9%8C%84">Chinese translation</a>! He said:</p>

<blockquote>
My name&#8217;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.
<br /><br />
I&#8217;m interested in contributing translations in Traditional Chinese. Thanks for all the effort you&#8217;ve put into this book.
</blockquote>


<p>Now <em>that</em> is awesome.</p>

<p>On a side note, it&#8217;s amazing to note that even for my <a href="http://www.swaroopch.com/notes/Python">previous book</a>, the number of mails from Chinese readers have increased dramatically in the past couple of years. So, in a way, I shouldn&#8217;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.</p>

<p>To sum it up, I&#8217;m happy with the response, although I would&#8217;ve been happier if a good number of <a href="http://www.swaroopch.com/buybook">print copies</a> were sold, as well as more community contributions in terms of content such as new topics and chapters.</p>

<p>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.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/response-to-vim-book/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Announcing my free book on Vim</title>
		<link>http://www.swaroopch.com/blog/a-free-book-on-vim/</link>
		<comments>http://www.swaroopch.com/blog/a-free-book-on-vim/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 02:54:40 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[A Byte of Vim]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Getting Things Done]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[fossdotin]]></category>

		<guid isPermaLink="false">http://www.swaroopch.com/?p=994</guid>
		<description><![CDATA[Today is the first day of foss.in/2008, and on this occasion, I&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<p>Today is the first day of <a href="http://foss.in">foss.in/2008</a>, and on this occasion, I&#8217;m happy to announce <a href="http://www.swaroopch.com/notes/Vim">the first public release of my Creative-Commons licensed book on the Vim 7 editor</a>.</p>

<p>This book is meant for both beginners and advanced users.</p>

<p>For beginners, it walks you through the <a href="http://www.swaroopch.com/notes/Vim_en:First_Steps">first steps</a> to learning about <a href="http://www.swaroopch.com/notes/Vim_en:Modes">modes</a>, discusses about <a href="http://www.swaroopch.com/notes/Vim_en:Typing_Skills">typing skills to be effective</a> and moves on to the <a href="http://www.swaroopch.com/notes/Vim_en:Moving_Around">editing basics</a>.</p>

<p>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 <a href="http://www.swaroopch.com/notes/Vim_en:More_Editing">more efficient editing</a>, <a href="http://www.swaroopch.com/notes/Vim_en:Personal_Information_Management">personal information management</a>, <a href="http://www.swaroopch.com/notes/Vim_en:Scripting">coding</a> your own <a href="http://www.swaroopch.com/notes/Vim_en:Plugins">plugins</a> or making Vim a <a href="http://www.swaroopch.com/notes/Vim_en:Programmers_Editor">programmers&#8217; editor</a>.</p>

<p>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 <a href="http://www.swaroopch.com/notes/Python">Python book</a>.</p>

<p>Both books are under the <a href="http://www.swaroopch.com/notes/Vim_en:Preface#License_and_Terms">Creative Commons Attribution-ShareAlike 3.0 license</a>, so you&#8217;re free to <a href="http://www.swaroopch.com/notes/Vim#Download">download it</a>, email it, share it and improve it. In fact, <a href="http://www.swaroopch.com/notes/Vim">the book is on a wiki</a>, so you can just click on &#8216;Edit&#8217; in the left sidebar of any chapter to improve the book in a matter of seconds. When in doubt, please use the &#8216;Discussion&#8217; link to add your suggestions and comments.</p>

<p>For those who prefer reading books they can hold in their hand, please consider <a href="http://www.swaroopch.com/buybook">purchasing a printed copy of the book</a>. This will also help support the continued development of the book.</p>

<p>For those PHP gurus familiar with GeSHi syntax highlighting, I would greatly appreciate any help in <a href="http://www.swaroopch.com/files/byteofvim/vim.phps">improving my vim syntax highlighting source</a>, especially in handling Vim-style comments, etc. Please <a href="http://www.swaroopch.com/contact/">mail me</a> if you can help.</p>

<p>This book has been in the works for several years, so I&#8217;m glad to see it finally in good enough <a href="http://www.swaroopch.com/notes/Vim_en:Feedback">shape</a> for releasing it. Although I haven&#8217;t done as many rewrites as I would have been satisfied with, I decided it was better to &lt;insert cliché of &#8220;Release Early, Release Often.&#8221;&gt;</p>

<p>I <a href="http://www.swaroopch.com/notes/Vim_en:Colophon#Inspiration">dedicate</a> this release to foss.in and <a href="http://www.swaroopch.com/gtdbook">GTD principles</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/a-free-book-on-vim/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 2/27 queries in 0.018 seconds using memcached
Object Caching 462/517 objects using memcached

Served from: www.swaroopch.com @ 2012-02-09 01:17:04 -->
