<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vim on Amit Agarwal Linux Blog</title>
    <link>/tags/vim/</link>
    <description>Recent content in Vim on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sun, 09 Mar 2025 00:00:00 +0530</lastBuildDate>
    
	<atom:link href="/tags/vim/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>How Vim Can Make a Hacker’s Life Easier with Macros and Registers</title>
      <link>/2025/03/09/2025-03-09-vim_macros_registers/</link>
      <pubDate>Sun, 09 Mar 2025 00:00:00 +0530</pubDate>
      
      <guid>/2025/03/09/2025-03-09-vim_macros_registers/</guid>
      <description>&lt;h1 id=&#34;how-vim-can-make-a-hackers-life-easier-with-macros-and-registers&#34;&gt;How Vim Can Make a Hacker’s Life Easier with Macros and Registers&lt;/h1&gt;
&lt;h2 id=&#34;why-every-hacker-should-master-vim-macros-and-registers&#34;&gt;Why Every Hacker Should Master Vim Macros and Registers&lt;/h2&gt;
&lt;p&gt;If you&amp;rsquo;re deep into &lt;strong&gt;hacking, pentesting, or security research&lt;/strong&gt;, you know that &lt;strong&gt;automation&lt;/strong&gt; is key. Repetitive tasks like manipulating payloads, encoding/decoding strings, or tweaking shell scripts can become tedious. &lt;strong&gt;Enter Vim macros and registers!&lt;/strong&gt; These powerful features let you record and replay keystrokes, making your workflow insanely efficient.&lt;/p&gt;
&lt;p&gt;No that I dont use IDE&amp;rsquo;s the likes of Visual Studio code (sometimes I do).
However they can never match the raw power of vi/vim/nvim or any of the vim
family of editors. To reap the maximum benefit, you have to learn the basics of
using the editor in normal mode ( which is by the not the editing mode).&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>ncurses based eFTE editor – programmers lightweight editor</title>
      <link>/2014/11/17/ncurses-based-efte-editor-programmers-lightweight-editor/</link>
      <pubDate>Mon, 17 Nov 2014 01:15:49 +0000</pubDate>
      
      <guid>/2014/11/17/ncurses-based-efte-editor-programmers-lightweight-editor/</guid>
      <description>&lt;p&gt;nefte is a lightweight programmers editor. Here is descriptioin:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;Description : eFTE is an advanced programmers editor with goals of being lightweight, yet
            : totally configurable. Support for user defined programming languages, menu
            : systems and key bindings are provided with many common defaults already
            : defined. eFTE is still a new project, however, we extend from the FTE editor
            : which was first released in 1995, so eFTE is tried and true with many features
            : for the programmer/text editor.
            : 
            : This package contains nefte, the ncurses version of the editor.
&lt;/pre&gt;
&lt;p&gt;And to install:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim mappings – easy way to do things.</title>
      <link>/2014/01/22/vim-mappings-easy-things/</link>
      <pubDate>Wed, 22 Jan 2014 01:15:40 +0000</pubDate>
      
      <guid>/2014/01/22/vim-mappings-easy-things/</guid>
      <description>&lt;p&gt;You can use vim mappings to make some of your editor tasks very simple. Here I am giving you just a example, but you could always let your imagination run wild.&lt;/p&gt;
&lt;p&gt;:nmap ,b Oj0c$**hP&lt;/p&gt;
&lt;p&gt;And what do we do here.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;O – Add a new line&lt;/p&gt;
&lt;p&gt;– Go to &lt;a class=&#34;zem_slink&#34; title=&#34;Normal mode&#34; href=&#34;http://en.wikipedia.org/wiki/Normal_mode&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;normal mode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;j – go to newly added line&lt;/p&gt;
&lt;p&gt;0 – Go to begining of line&lt;/p&gt;
&lt;p&gt;c$ – Change till &lt;a class=&#34;zem_slink&#34; title=&#34;Newline&#34; href=&#34;http://en.wikipedia.org/wiki/Newline&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;end of line&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim – yank/xopy in different register to paste</title>
      <link>/2014/01/16/vim-yankxopy-register-paste/</link>
      <pubDate>Thu, 16 Jan 2014 01:21:17 +0000</pubDate>
      
      <guid>/2014/01/16/vim-yankxopy-register-paste/</guid>
      <description>&lt;p&gt;Very quick update, to use registers, you can select and then yank in a register to paste using the same register. This could be a convinient way to copy multiple selections and then paste which ever selection you want. Here is the simple way to do it:&lt;/p&gt;
&lt;p&gt;visuallly select with v/V&lt;/p&gt;
&lt;p&gt;then “qy to yank (here we are yanking into register q, so in the command you can use any of a-z to use as register)&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Check all vim colorschemes for minor issues</title>
      <link>/2013/10/10/check-vim-colorschemes-minor-issues/</link>
      <pubDate>Thu, 10 Oct 2013 01:13:25 +0000</pubDate>
      
      <guid>/2013/10/10/check-vim-colorschemes-minor-issues/</guid>
      <description>&lt;p&gt;Here is script that checks all the colorschemes in the &lt;a class=&#34;zem_slink&#34; title=&#34;Working directory&#34; href=&#34;http://en.wikipedia.org/wiki/Working_directory&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;current directory&lt;/a&gt; and corrects them if possible (&lt;a class=&#34;zem_slink&#34; title=&#34;Processing (programming language)&#34; href=&#34;http://www.processing.org&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Processing&lt;/a&gt; of the file is done with simple commands like &lt;a class=&#34;zem_slink&#34; title=&#34;Sed&#34; href=&#34;http://en.wikipedia.org/wiki/Sed&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;sed&lt;/a&gt;, &lt;a class=&#34;zem_slink&#34; title=&#34;Grep&#34; href=&#34;http://en.wikipedia.org/wiki/Grep&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;grep&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Checks that the color_name is same as &lt;a class=&#34;zem_slink&#34; title=&#34;Filename&#34; href=&#34;http://en.wikipedia.org/wiki/Filename&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;Filename&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is the script:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;#!/bin/bash -
#===============================================================================
#
#          FILE: check_colors.sh
#
#         USAGE: ./check_colors.sh
#
#   DESCRIPTION:
#
#       OPTIONS: ---
#  REQUIREMENTS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: Amit Agarwal (aka), 
#      REVISION:  ---
#===============================================================================
cd ~/.vim/colors
for i in *vim
do
    #echo &#34;Processing $i&#34;
    if [[ $(grep -c g:colors_name $i ) -eq 0 ]]; then
        if [[ $(grep -c colors_name $i ) -eq 0 ]]; then
            echo &#34;File $i does not have colorname&#34;;
            missing=$missing&#34; $i&#34;
        else
            sed -i.bak &#39;/colors_name/ s/.*/let g:colors_name=&#34;&#39;${i//.vim}&#39;&#34;/g&#39; $i
        fi
    else
        if [[ $(grep -c colors_name $i|grep let ) -gt 1 ]]; then
            echo &#34;WARN -----&amp;gt;&amp;gt; File $i has more than one colorsname&#34;
        fi
        colorname=$(grep g:colors_name $i|grep let| sed -e &#39;s/&#34;//g&#39; -e &#39;s/.*=//&#39; |tr -d &#39; &#39;)
        if [[ ${colorname}.vim != $i ]]; then
            echo &#34;Filename $i does not match colorname $colorname .. correcting &#34;
            sed -i.bak &#39;/colors_name/ s/.*/let g:colors_name=&#34;&#39;${i//.vim}&#39;&#34;/g&#39; $i
            #sed -i.bak &#39;s/(.*g:colors_name.*=)/1&#39;${i//.vim}&#39;/g&#39; $i
        fi
    fi
done

if [[ x$missing != x ]] ; then
    echo &#34;Missing colornames in $missing&#34;
fi&lt;/pre&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://java.dzone.com/articles/using-grep-inside-vim&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/i.zemanta.com/204873595_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://java.dzone.com/articles/using-grep-inside-vim&#34; target=&#34;_blank&#34;&gt;Using Grep from Inside Vim&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://nathangrigg.net/vimhelp/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/noimg_35_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://nathangrigg.net/vimhelp/&#34; target=&#34;_blank&#34;&gt;Vim&amp;#8217;s full help in PDF form&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://www.vim.org/scripts/script.php?script_id=4586&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i1.wp.com/i.zemanta.com/noimg_22_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://www.vim.org/scripts/script.php?script_id=4586&#34; target=&#34;_blank&#34;&gt;vim-colorscheme-switcher 0.2.5 &amp;#8212; Easily &amp; quickly switch between color schemes&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim maps – simple commands to do stuff.</title>
      <link>/2013/08/28/vim-maps-simple-commands-stuff/</link>
      <pubDate>Wed, 28 Aug 2013 01:03:42 +0000</pubDate>
      
      <guid>/2013/08/28/vim-maps-simple-commands-stuff/</guid>
      <description>&lt;p&gt;Some time back, I was working on some script for logging and I wanted to change the class to function like this:&lt;/p&gt;
&lt;pre class=&#34;brush: shell; gutter: true; first-line: 1&#34;&gt;$logger-&amp;gt;Debug(&#34;Test string&#34;);
loggerFunc(&#34;Debug&#34;, &#34;Test String&#34;);&lt;/pre&gt;
&lt;p&gt;As you can see, this change could be quite frustrating if you have quite a few references. And thus vim comes to rescue.&lt;/p&gt;
&lt;p&gt;Simple map like ::&lt;/p&gt;
&lt;pre class=&#34;brush: actionscript3; gutter: true; first-line: 1&#34;&gt;:map ,mm :s/(.*)$logger-&amp;gt;(.*)((.*)).*/1loggerFunc(&#34;2&#34;,3);/&lt;/pre&gt;
&lt;p&gt;and then I can do “/$logger-&amp;gt;” and then “n” to go to next match. Just do “,mm” and the line is re-factored.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Vim – Why and where am I getting these errors from?</title>
      <link>/2013/05/15/vim-errors-from/</link>
      <pubDate>Wed, 15 May 2013 01:47:13 +0000</pubDate>
      
      <guid>/2013/05/15/vim-errors-from/</guid>
      <description>&lt;p&gt;If you have got this question in your mind, then you are in right place.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;vim -V20  2&amp;gt;&amp;1 |tee&lt;/pre&gt;
&lt;p&gt;You can give the debugfile as any file, where you would want to log the debug messages. This will log a lot of information in the debugfile, you can open the file, once you have got the error in the main vim window. After this, you can open the debugfile and simply search for the error that you were getting. Just look for the reason why this error is originated in the debug logs and then it should be pretty simple to fix that.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim mappings for multiple files.</title>
      <link>/2012/08/06/vim-mappings-multiple-files/</link>
      <pubDate>Mon, 06 Aug 2012 06:34:23 +0000</pubDate>
      
      <guid>/2012/08/06/vim-mappings-multiple-files/</guid>
      <description>&lt;p&gt;If you open multiple &lt;a class=&#34;zem_slink&#34; title=&#34;Computer file&#34; href=&#34;http://en.wikipedia.org/wiki/Computer_file&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;files&lt;/a&gt; in vim with &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line interface&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_interface&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;command line option&lt;/a&gt;. Then the only way to move between the files is &lt;strong&gt;“:n”&lt;/strong&gt; and &lt;strong&gt;“:N”&lt;/strong&gt;. There is a easier way to do this. Just add mappings for this in vimrc. Here is what you can use.&lt;/p&gt;
&lt;pre class=&#34;brush: shell; gutter: true; first-line: 1&#34;&gt;map  :N
map  :n&lt;/pre&gt;
&lt;p&gt;And if you want to make sure that you move to the prev or next file after saving the file, then you modifyt the mapping like this:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>cream bash ide – vim with bash support</title>
      <link>/2012/03/14/cream-bash-ide-vim-bash-support/</link>
      <pubDate>Wed, 14 Mar 2012 06:16:48 +0000</pubDate>
      
      <guid>/2012/03/14/cream-bash-ide-vim-bash-support/</guid>
      <description>&lt;p&gt; &lt;/p&gt;
&lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Vim.png&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;English: Screenshot of graphical vim (gvim) sh...&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Vim.png/300px-Vim.png&#34; alt=&#34;English: Screenshot of graphical vim (gvim) sh...&#34; width=&#34;300&#34; height=&#34;312&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;&lt;a href=&#34;http://sourceforge.net/projects/cream-bash-ide/&#34;&gt;Here&lt;/a&gt; you can find the cream editor. This is basically &lt;a class=&#34;zem_slink&#34; title=&#34;Vim (text editor)&#34; href=&#34;http://www.vim.org&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;vim editor&lt;/a&gt; with lots of customizations thus making it simpler for the users to use the editor directly.&lt;/p&gt;
&lt;p&gt;This version already has the bash and perl support &lt;a class=&#34;zem_slink&#34; title=&#34;Plug-in (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Plug-in_%28computing%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;plugins&lt;/a&gt; and thus you can start using them as &lt;a class=&#34;zem_slink&#34; title=&#34;Integrated development environment&#34; href=&#34;http://en.wikipedia.org/wiki/Integrated_development_environment&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;IDE&lt;/a&gt; without the need to add any plugins. It has a simple and advanced mode. In the simple mode you need not worry about all the modes of the vi/vim editor. How cool is that 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Get yourself som new themes for vim</title>
      <link>/2012/02/15/som-themes-vim/</link>
      <pubDate>Wed, 15 Feb 2012 06:18:53 +0000</pubDate>
      
      <guid>/2012/02/15/som-themes-vim/</guid>
      <description>&lt;p&gt;Well, you would already have some themes for your vim, by default. And if you did not like them then you would have added some of your own too (downloaded from &lt;a href=&#34;http://www.vim.org&#34; target=&#34;_blank&#34;&gt;vim.org&lt;/a&gt;). But, those are something, that you might not still like and want to make some changes.&lt;/p&gt;
&lt;p&gt;Here’s, a new way to do it. Just go to the link mentioned below and click on Generate Dark or Generate Light. You can generate as many as you like and once you like the theme, simply click on vim in the bottom and download 🙂 BTW, you can generate textmate and Emacs theme as well.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>g flag in :s useless in vim</title>
      <link>/2011/11/05/flag-s-useless-vim/</link>
      <pubDate>Sat, 05 Nov 2011 07:33:19 +0000</pubDate>
      
      <guid>/2011/11/05/flag-s-useless-vim/</guid>
      <description>&lt;p&gt;Some time back there was a post on vim_use list about the “/g” flag for the search and replace functionality of the vim. And the response of “Tim Chase” on the same was very elaborate and interesting. I always knew that “/g” is only for replacing multiple occurrences on the same line, but here are few things that I did not know.&lt;/p&gt;
&lt;pre class=&#34;brush: text; gutter: true; first-line: 1&#34;&gt;   :0/this/s//that&lt;/pre&gt;
&lt;p&gt;This one will only replace the first occurrence of this in the whole file.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>debug call function() to debug a function in vim</title>
      <link>/2011/09/04/debug-call-function-debug-function-vim/</link>
      <pubDate>Sun, 04 Sep 2011 06:04:53 +0000</pubDate>
      
      <guid>/2011/09/04/debug-call-function-debug-function-vim/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;p&gt;
    &lt;figure style=&#34;width: 159px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Function_machine2.svg&#34;&gt;&lt;img title=&#34;Drawn in Autosketch + pasting in words from Excel&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/zemanta//159px-Function_machine2.svg_3.png?resize=159%2C152&#34; alt=&#34;Drawn in Autosketch + pasting in words from Excel&#34; width=&#34;159&#34; height=&#34;152&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
  &lt;/p&gt;
&lt;/div&gt;
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Have you ever wished that you could either see what is going on initially at the vim startup like you could do with C program in the gdm mode, but really did not want to go through &lt;a class=&#34;zem_slink&#34; title=&#34;GNU Debugger&#34; href=&#34;http://www.gnu.org/software/gdb&#34; rel=&#34;homepage&#34;&gt;gdb&lt;/a&gt;. Or rather you sometime felt that some &lt;a class=&#34;zem_slink&#34; title=&#34;Function (mathematics)&#34; href=&#34;http://en.wikipedia.org/wiki/Function_%28mathematics%29&#34; rel=&#34;wikipedia&#34;&gt;function&lt;/a&gt; defined by some plugin is causing some issue and you wanted to debug just that function. Well you need not wish anymore, the functionality is already there.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim autocomplete – automagically without tab.</title>
      <link>/2011/04/16/vim-autocomplete-automagically-without-tab/</link>
      <pubDate>Sat, 16 Apr 2011 01:10:59 +0000</pubDate>
      
      <guid>/2011/04/16/vim-autocomplete-automagically-without-tab/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Lets first do the setup in one line. Get my &lt;a title=&#34;vim script download&#39;er&#34; href=&#34;http://blog.amit-agarwal.co.in/2011/03/09/all-in-one-solution-for-all-the-scripts-of-vim-from-vim-org/&#34; target=&#34;_blank&#34;&gt;vim script downloader&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Use the script to add the script with script ID : :1879 (vim-autocomplpop) to your list of plugins for vim and you  are done.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;If you are using snipmate, then make sure that you read the description of the plugin to add the required lines to the vimrc file to get the full functionality. You would love to type henceforth in your favourite editor. We will talk about more on &lt;a class=&#34;zem_slink&#34; title=&#34;IntelliSense&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/IntelliSense&#34;&gt;Intellisense&lt;/a&gt; in few days time.. Chao till then.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>what is vim in 6Kb..</title>
      <link>/2011/03/16/what-is-vim-in-6kb/</link>
      <pubDate>Wed, 16 Mar 2011 16:36:33 +0000</pubDate>
      
      <guid>/2011/03/16/what-is-vim-in-6kb/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you thought that vim is very bloated and nothing abuot this editor can be small, then you are not alone. I was myself in the same bandwagon.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Well, I never thought that there could be anything about vim that can be explained in Kb’s, lest alone the complete vim features. But looks like &lt;a title=&#34;vim.org&#34; href=&#34;http://www.vim.org&#34; target=&#34;_blank&#34;&gt;vim.org&lt;/a&gt; had thought about this and thus came up with &lt;a title=&#34;this&#34; href=&#34;http://www.vim.org/6kbyte.php&#34; target=&#34;_blank&#34;&gt;this&lt;/a&gt;. And &lt;a title=&#34;here&#34; href=&#34;http://www.vim.org/6k/features.en.txt&#34; target=&#34;_blank&#34;&gt;here&lt;/a&gt; is the direct link to the vim in 6kb in English.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>All in one solution for all the scripts of vim from vim.org</title>
      <link>/2011/03/09/all-in-one-solution-for-all-the-scripts-of-vim-from-vim-org/</link>
      <pubDate>Wed, 09 Mar 2011 16:39:52 +0000</pubDate>
      
      <guid>/2011/03/09/all-in-one-solution-for-all-the-scripts-of-vim-from-vim-org/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;For quite sometime now, I was looking for some console based program which would help me get the scripts from vim.org. A simple solution would have been to do a wget for the scripts. But since there are so many scripts coming up daily and with a need to search based on script ID and name of the script, I thought better to write a script that can do all of those things. Now, what was required was that the script should be either able to download this or add to the &lt;a title=&#34;GLVS&#34; href=&#34;http://www.vim.org/scripts/script.php?script_id=2444&#34; target=&#34;_blank&#34;&gt;GLVS&lt;/a&gt; script. Also note that, I had done something similar in the past &lt;a title=&#34;vim – get the list of all the scripts available.&#34; href=&#34;http://blog.amit-agarwal.co.in/2010/05/28/vim-get-the-list-of-all-the-scripts-available/&#34; target=&#34;_blank&#34;&gt;here&lt;/a&gt;. There are some additions in the below script. You can download a copy of the script &lt;a href=&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2011/03/get_vim_scripts.txt&#34;&gt;get_vim_scripts&lt;/a&gt;. Or you can copy the script from below:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>shopt causes bash completion to stop working.</title>
      <link>/2011/01/25/shopt-bash-completion-stop-working/</link>
      <pubDate>Tue, 25 Jan 2011 02:35:15 +0000</pubDate>
      
      <guid>/2011/01/25/shopt-bash-completion-stop-working/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Couple of days, I added some scripts to my &lt;a class=&#34;zem_slink&#34; title=&#34;Bash (Unix shell)&#34; rel=&#34;homepage&#34; href=&#34;http://tiswww.case.edu/php/chet/bash/bashtop.html&#34;&gt;bash&lt;/a&gt; startup and suddenly realized that bash completions stopped working. This is tricky situation in bash to figure out what went wrong. So, I set my foot down to make sure that I find out the &lt;a class=&#34;zem_slink&#34; title=&#34;Culprit&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Culprit&#34;&gt;culprit&lt;/a&gt;. Thus I started with method of elimination. So, I started with nothing in .bashrc and kept adding my stuff in batches, until the said feature was broken. Once that happened I started removing the added ones, one by one, until my completion started working again.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>[Solved] Abbreviations not working in vim</title>
      <link>/2010/10/02/solved-abbreviations-working-vim/</link>
      <pubDate>Sat, 02 Oct 2010 15:17:39 +0000</pubDate>
      
      <guid>/2010/10/02/solved-abbreviations-working-vim/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today I found that abbreviations are not working in vim in my current login. I searched log of blog’s and sill did not find any solution so I decided to take the matters in my hand.&lt;/p&gt;
&lt;p&gt;To start with I &lt;a class=&#34;zem_slink&#34; title=&#34;Disability&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Disability&#34;&gt;disabled&lt;/a&gt; all the plugin’s by moving my &lt;a class=&#34;zem_slink&#34; title=&#34;WordPress Plugin Directory&#34; rel=&#34;homepage&#34; href=&#34;http://wordpress.org/extend/plugins/&#34;&gt;plugin directory&lt;/a&gt;. This did not help me solve the issue, so the only other option left was to now disable the vimrc file completely. Once I removed the vimrc file, the abbreviations started working.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>when you press f9 &#39;paste&#39; is on , press f9 again and &#39;paste&#39; is off, and so forth (works in insert-mode and command-mode)</title>
      <link>/2010/08/02/when-you-press-f9-paste-is-on-press-f9-again-and-paste-is-off-and-so-forth-works-in-insert-mode-and-command-mode/</link>
      <pubDate>Mon, 02 Aug 2010 03:20:07 +0000</pubDate>
      
      <guid>/2010/08/02/when-you-press-f9-paste-is-on-press-f9-again-and-paste-is-off-and-so-forth-works-in-insert-mode-and-command-mode/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Vim (text editor)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.vim.org/&amp;quot;&amp;gt;vim&lt;/a&gt;&amp;amp;#8217;s pastetoggle: when you press f9 &amp;amp;#8217;paste&amp;amp;#8217; is on , press f9 again and &amp;amp;#8217;paste&amp;amp;#8217; is off, and so forth (works in &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Insert key&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Insert_key&amp;quot;&amp;gt;insert-mode&lt;/a&gt; and command-mode) $ nmap :set paste!:set paste? Sets as paste toggle, with visual confirmation of state&lt;/p&gt;
&lt;p&gt;* View this command to comment, vote or add to favourites * View all commands by Vilemirth&lt;/p&gt;
&lt;p&gt;commandlinefu.com&lt;/p&gt;
&lt;p&gt;by David Winterbottom (codeinthehole.com)&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Play with vim colors.</title>
      <link>/2010/07/17/play-with-vim-colors/</link>
      <pubDate>Fri, 16 Jul 2010 19:16:52 +0000</pubDate>
      
      <guid>/2010/07/17/play-with-vim-colors/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;In vim you can customize the colors of your terminal vim or the GUI version. If you wanted to play around with colors then you can simply put the file containing the colorscheme to directory &amp;amp;#8221;~/.vim/colors&amp;amp;#8221; and load it in vim with &amp;amp;#8221;&lt;strong&gt;colorscheme &lt;name&gt;&lt;/strong&gt;&amp;amp;#8221;.&lt;/p&gt;
&lt;p&gt;That most of you would know. What I will add here is how easy it can be create it if you knew the right place to do it: Head over&amp;lt;a href=&amp;quot;http://yukihiro.nakadaira.googlepages.com/vim-color.html&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt; here&lt;/a&gt;. No explanations needed. Anyway if you need help, leave a comment.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>jumps and marks in vim</title>
      <link>/2010/07/11/jumps-and-marks-in-vim/</link>
      <pubDate>Sun, 11 Jul 2010 07:59:25 +0000</pubDate>
      
      <guid>/2010/07/11/jumps-and-marks-in-vim/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;First we will talk about jumps in vim. Very useful for &amp;lt;a class=&amp;quot;zem_slink freebase/en/navigation&amp;quot; title=&amp;quot;Navigation&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Navigation&amp;quot;&amp;gt;navigation&lt;/a&gt; and jumping around the vim. The jumps are commands that lets you jump from one location to another location, like {{ or [[ and so on … From the help file of vim&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A &amp;amp;#8221;jump&amp;amp;#8221; is one of the following commands: &amp;amp;#8221;&amp;amp;#8217;&amp;amp;#8221;, &amp;amp;#8221;`&amp;amp;#8221;, &amp;amp;#8221;G&amp;amp;#8221;, &amp;amp;#8221;/&amp;amp;#8221;, &amp;amp;#8221;?&amp;amp;#8221;, &amp;amp;#8221;n&amp;amp;#8221;,&lt;br&gt;
&amp;amp;#8221;N&amp;amp;#8221;, &amp;amp;#8221;%&amp;amp;#8221;, &amp;amp;#8221;(&amp;amp;#8221;, &amp;amp;#8221;)&amp;amp;#8221;, &amp;amp;#8221;[[&amp;amp;#8221;, &amp;amp;#8221;]]&amp;amp;#8221;, &amp;amp;#8221;{&amp;amp;#8221;, &amp;amp;#8221;}&amp;amp;#8221;, &amp;amp;#8221;:s&amp;amp;#8221;, &amp;amp;#8221;:tag&amp;amp;#8221;, &amp;amp;#8221;L&amp;amp;#8221;, &amp;amp;#8221;M&amp;amp;#8221;, &amp;amp;#8221;H&amp;amp;#8221; and&lt;br&gt;
the commands that start editing a new file.  If you make the &amp;lt;a class=&amp;quot;zem_slink freebase/en/cursor&amp;quot; title=&amp;quot;Cursor (computers)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Cursor_%28computers%29&amp;quot;&amp;gt;cursor&lt;/a&gt; &amp;amp;#8221;jump&amp;amp;#8221;&lt;br&gt;
with one of these commands, the position of the cursor before the jump is&lt;br&gt;
remembered.  You can return to that position with the &amp;amp;#8221;&amp;amp;#8217;&amp;amp;#8217;&amp;amp;#8221; and &amp;amp;#8221;“&amp;amp;#8221; command,&lt;br&gt;
unless the line containing that position was changed or deleted.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash script to change the vim colorscheme from the list of locally available schemes</title>
      <link>/2010/06/25/bash-script-to-change-the-vim-colorscheme-from-the-list-of-locally-available-schemes/</link>
      <pubDate>Thu, 24 Jun 2010 20:51:35 +0000</pubDate>
      
      <guid>/2010/06/25/bash-script-to-change-the-vim-colorscheme-from-the-list-of-locally-available-schemes/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;&lt;img title=\&#34;MacVim icon, glossy style\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Vim_gloss_128.png\&#34; alt=\&#34;MacVim icon, glossy style\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today I was just wondering how good it would be to have a script to change the &amp;lt;a class=&amp;quot;zem_slink freebase/en/vim&amp;quot; title=&amp;quot;Vim (text editor)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.vim.org/&amp;quot;&amp;gt;vim&lt;/a&gt; colorscheme from the &amp;lt;a class=&amp;quot;zem_slink freebase/en/cmd_exe&amp;quot; title=&amp;quot;Command Prompt&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Command_Prompt&amp;quot;&amp;gt;command prompt&lt;/a&gt;. The plan for the script was simply to print the list of available schemes and then let the user select the actions from there on. So, here is the result:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vi tips with examples for programmers — very useful</title>
      <link>/2010/06/05/vi-tips-with-examples-for-programmers-very-useful/</link>
      <pubDate>Sat, 05 Jun 2010 02:08:37 +0000</pubDate>
      
      <guid>/2010/06/05/vi-tips-with-examples-for-programmers-very-useful/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;First off, sorry for not posting regularly. Will be so for probably another couple of days.&lt;/p&gt;
&lt;p&gt;In the meantime found a very nice artcle on vim:&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/Useful_things_for_programmers_to_know&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/Useful_things_for_programmers_to_know&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim – get the list of all the scripts available.</title>
      <link>/2010/05/28/vim-get-the-list-of-all-the-scripts-available/</link>
      <pubDate>Thu, 27 May 2010 20:26:35 +0000</pubDate>
      
      <guid>/2010/05/28/vim-get-the-list-of-all-the-scripts-available/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;To get a list of all the scripts in the vim.sf.net project, you can run the following command. This will list all the scripts with the script id.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;wget -O – &amp;amp;#8217;http://www.vim.org/scripts/script_search_results.php?&amp;amp;show_me=4000&amp;amp;result_ptr=0&amp;amp;#8217; -o /dev/null | &amp;lt;a class=&amp;quot;zem_slink freebase/en/grep&amp;quot; title=&amp;quot;Grep&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Grep&amp;quot;&amp;gt;grep&lt;/a&gt; width| grep script_id= |&amp;lt;a class=&amp;quot;zem_slink freebase/en/sed&amp;quot; title=&amp;quot;Sed&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Sed&amp;quot;&amp;gt;sed&lt;/a&gt; &amp;amp;#8217;s/.*script_id=//&amp;amp;#8217;|tr -d &amp;amp;#8221;&amp;amp;#8221;&amp;amp;#8221;|tr &amp;amp;#8221;&amp;gt;&amp;amp;#8221; &amp;amp;#8221; &amp;amp;#8221;|sed &amp;amp;#8217;s/&amp;lt; .*//&amp;amp;#8217; | tr -d &amp;amp;#8217;\001&amp;amp;#8217;-&amp;amp;#8217;\011&amp;amp;#8217;&amp;amp;#8217;\013&amp;amp;#8217;&amp;amp;#8217;\014&amp;amp;#8217;&amp;amp;#8217;\016&amp;amp;#8217;-&amp;amp;#8217;\037&amp;amp;#8217;&amp;amp;#8217;\200&amp;amp;#8217;-&amp;amp;#8217;\377&amp;amp;#8217; |sort -n&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.slumpedoverkeyboarddead.com/2009/09/17/use-curl-to-monitor-your-vonage-phone-bill/&amp;quot;&amp;gt;Use curl to Monitor Your Vonage Phone Bill&lt;/a&gt; (slumpedoverkeyboarddead.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://securewebs.com/yum-updates/&amp;quot;&amp;gt;Yum Updates&lt;/a&gt; (securewebs.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.gubatron.com/blog/2009/10/10/ubuntudebian-quick-reference-how-to-change-your-servers-utc-timezone-on-the-command-line/&amp;quot;&amp;gt;Ubuntu/Debian Quick Reference: How To Change Your Server&amp;amp;#8217;s UTC Timezone on the command line&lt;/a&gt; (gubatron.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2009/11/22/short-information-about-loaded-kernel-modules/&amp;quot;&amp;gt;Short Information about loaded kernel modules&lt;/a&gt; (amit-agarwal.co.in)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/b22b2e85-8107-4f9b-9130-85a8e8ae370b/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b52.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Craeating a sequence in OpenOffice.org calc.</title>
      <link>/2010/05/06/craeating-a-sequence-in-openofficeorg-calc/</link>
      <pubDate>Thu, 06 May 2010 13:31:19 +0000</pubDate>
      
      <guid>/2010/05/06/craeating-a-sequence-in-openofficeorg-calc/</guid>
      <description>&lt;p&gt;Creating a numberd list in the calc with alphabets can be really tiresome sometimes. I found a simple solution to this. Create the numbered list in vim and then paste it into Openoffice.org calc. Here&amp;amp;#8217;s how I do it:&lt;/p&gt;
&lt;p&gt;Open vim&lt;/p&gt;
&lt;p&gt;type the first in sequence (ex Amit_aga_001)&lt;/p&gt;
&lt;p&gt;Follow the below sequence to create a macro:&lt;/p&gt;
&lt;p&gt;Esc&lt;/p&gt;
&lt;p&gt;[Atl]+q+(any alphabet say &amp;amp;#8217;a&amp;amp;#8217;)  — this will start recording the macro&lt;/p&gt;
&lt;p&gt;yy  – yank the current line&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>change the window in split screen.</title>
      <link>/2010/04/11/change-the-window-in-split-screen/</link>
      <pubDate>Sun, 11 Apr 2010 09:12:00 +0000</pubDate>
      
      <guid>/2010/04/11/change-the-window-in-split-screen/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I use the split screen in vim very in-frequently, so I did not really know how to move from one screen to the other. There is also very little or no documentation that I found on this on the first page of google, so here it is :&lt;br&gt;
press &amp;amp;#8221;ctrl+w and ctrl + w&amp;amp;#8221; to change to other window.&lt;/p&gt;
&lt;p&gt;If you are not sure how to get the split screen, then you can type help split in vim to get the help on split screen.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>bash script to change vim colorscheme based on the available themes</title>
      <link>/2010/04/11/bash-script-change-vim-colorscheme-based-themes/</link>
      <pubDate>Sun, 11 Apr 2010 09:11:41 +0000</pubDate>
      
      <guid>/2010/04/11/bash-script-change-vim-colorscheme-based-themes/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;&lt;img title=\&#34;MacVim icon, glossy style\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Vim_gloss_128.png\&#34; alt=\&#34;MacVim icon, glossy style\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;Here&amp;amp;#8217;s one script that you may find useful. A little variation or wrapper for this script can make your life colorful 🙂&lt;/p&gt;
&lt;p&gt;You can write a wrapper to this to take one of the inputs randomly and then use it in alias to start &amp;lt;a class=&amp;quot;zem_slink freebase/en/vim&amp;quot; title=&amp;quot;Vim (text editor)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.vim.org/&amp;quot;&amp;gt;vim&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim understanding the various modes and using the yanking more efficiently.</title>
      <link>/2010/04/06/vim-understanding-the-various-modes-and-using-the-yanking-more-efficiently/</link>
      <pubDate>Tue, 06 Apr 2010 02:42:38 +0000</pubDate>
      
      <guid>/2010/04/06/vim-understanding-the-various-modes-and-using-the-yanking-more-efficiently/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;&lt;img title=\&#34;MacVim icon, glossy style\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Vim_gloss_128.png\&#34; alt=\&#34;MacVim icon, glossy style\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:Vim_gloss_128.png\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;We will look at the vim modes today. Sometime back , I was looking at copying a function body. So I was basically looking to copy the lines till matching &amp;amp;#8221;&lt;strong&gt;}&lt;/strong&gt;&amp;amp;#8221;. I found a plugin called &amp;lt;a href=&amp;quot;http://www.vim.org/scripts/script.php?script_id=1234&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;yankring&lt;/a&gt; which would allow me to yank the text in various combinations. So I can copy a function by going to the begining of the function and then &amp;amp;#8221;&lt;strong&gt;y}&lt;/strong&gt;&amp;amp;#8221;. That is very simple to understand right? Wrong!!!&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>vim scripts and tips</title>
      <link>/2010/03/29/vim-scripts-and-tips/</link>
      <pubDate>Mon, 29 Mar 2010 07:01:07 +0000</pubDate>
      
      <guid>/2010/03/29/vim-scripts-and-tips/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here are few of the links for vim that you can use. It consists of the link to vimrc, colorscheme, syntaxcomplete and zzsplash.&lt;br&gt;
&amp;lt;a href=&amp;quot;http://vim.wikia.com/wiki/User:Tonymec/vimrc&amp;quot;&amp;gt;http://vim.wikia.com/wiki/User:Tonymec/vimrc&lt;/a&gt;&lt;br&gt;
&amp;lt;a href=&amp;quot;http://vim.wikia.com/wiki/User:Tonymec/almost-default.vim&amp;quot;&amp;gt;http://vim.wikia.com/wiki/User:Tonymec/almost-default.vim&lt;/a&gt;&lt;br&gt;
&amp;lt;a href=&amp;quot;http://vim.wikia.com/wiki/User:Tonymec/syntaxcomplete.vim&amp;quot;&amp;gt;http://vim.wikia.com/wiki/User:Tonymec/syntaxcomplete.vim&lt;/a&gt;&lt;br&gt;
&amp;lt;a href=&amp;quot;http://vim.wikia.com/wiki/User:Tonymec/zzsplash.vim&amp;quot;&amp;gt;http://vim.wikia.com/wiki/User:Tonymec/zzsplash.vim&lt;/a&gt;&amp;lt;table cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot;&amp;gt;&lt;/table&gt; &amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2010/02/02/bash-script-to-change-the-vim-colorscheme-from-the-list-of-locally-available-schemes/&amp;quot;&amp;gt;bash script to change the vim colorscheme from the list of locally available schemes&lt;/a&gt; (amit-agarwal.co.in)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.prweb.com/releases/2010/03/prweb3740684.htm&amp;quot;&amp;gt;Wikia Introduces New Tools For People to Create Wiki Answer Sites on Any Topic&lt;/a&gt; (prweb.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/a04b9f08-df03-476c-b6d3-a1d32078cb64/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b68.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>eclim for Fedora – Leonidas – installation.</title>
      <link>/2010/03/08/eclim-for-fedora-leonidas-installation/</link>
      <pubDate>Mon, 08 Mar 2010 03:48:31 +0000</pubDate>
      
      <guid>/2010/03/08/eclim-for-fedora-leonidas-installation/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here is the installation instruction for Eclim for vim. I have not tried it as I did not require it, but if you need it.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://downloads.sourceforge.net/project/eclim/eclim/1.4.8/eclim&#34;&gt;http://downloads.sourceforge.net/project/eclim/eclim/1.4.8/eclim&lt;/a&gt;_1.4.8.tar.gz?use_mirror=biznetnetworks&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sudo ant -Declipse.home=/usr/lib/eclipse -Dvim.files=/home/amitag/.vim -Dplugins=cdt&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;create ctgs using&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ctags -R /usr/include/&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://spf13.com/post/vim-crash-course&amp;quot;&amp;gt;VIM Crash Course&lt;/a&gt; (spf13.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://go.theregister.com/feed/www.theregister.co.uk/2010/01/26/sourceforge_ip_address_filtering/&amp;quot;&amp;gt;SourceForge bars 5 nations from open source downloads&lt;/a&gt; (go.theregister.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.amit-agarwal.co.in/2010/01/22/my-project-in-sourceforgenet-gnomedesktopwal/&amp;quot;&amp;gt;My project in sourceforge.net gnomedesktopwal&lt;/a&gt; (amit-agarwal.co.in)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/0fb78d60-4b1a-4563-8ffa-f572041a3a64/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b13.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Built-in lists in vim</title>
      <link>/2010/02/03/built-in-lists-in-vim/</link>
      <pubDate>Wed, 03 Feb 2010 16:49:32 +0000</pubDate>
      
      <guid>/2010/02/03/built-in-lists-in-vim/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a class=&amp;quot;zem_slink freebase/en/vimscript&amp;quot; title=&amp;quot;Vimscript&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Vimscript&amp;quot;&amp;gt;Vimscript&lt;/a&gt; provides excellent support for operating on collections of &amp;lt;a class=&amp;quot;zem_slink freebase/en/data&amp;quot; title=&amp;quot;Data&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Data&amp;quot;&amp;gt;data&lt;/a&gt;, a cornerstone of programming. In this third article in the series, learn how to use Vimscript&amp;amp;#8217;s built-in lists to ease everyday operations such as reformatting lists, filtering sequences of filenames, and sorting sets of line numbers. You&amp;amp;#8217;ll also walk through examples that demonstrate the power of lists to extend and enhance two common uses of &amp;lt;a class=&amp;quot;zem_slink freebase/en/vim&amp;quot; title=&amp;quot;Vim (text editor)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.vim.org/&amp;quot;&amp;gt;Vim&lt;/a&gt;: creating a &amp;lt;a class=&amp;quot;zem_slink freebase/en/user_defined_function&amp;quot; title=&amp;quot;User-defined function&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/User-defined_function&amp;quot;&amp;gt;user-defined function&lt;/a&gt; to align assignment operators, and improving the built-in text completions mechanism.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>using cscope with vim</title>
      <link>/2010/01/08/using-cscope-with-vim/</link>
      <pubDate>Fri, 08 Jan 2010 03:02:50 +0000</pubDate>
      
      <guid>/2010/01/08/using-cscope-with-vim/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://www.flickr.com/photos/87569910@N00/2885667385\&#34;&gt;&lt;img title=\&#34;Google Image Search\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/2885667385_27fa023622_m.jpg\&#34; alt=\&#34;Google Image Search\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image by &lt;a href=\&#34;http://www.flickr.com/photos/87569910@N00/2885667385\&#34;&gt;schoschie&lt;/a&gt; via Flickr&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here&amp;amp;#8217;s the best of the two links that I found with &amp;lt;a class=&amp;quot;zem_slink freebase/en/google&amp;quot; title=&amp;quot;Google&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://google.com&amp;quot;&amp;gt;Google&lt;/a&gt; and &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Bing&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://bing.com/&amp;quot;&amp;gt;Bing&lt;/a&gt; combined out of lots of links that I think can help you understand how to use cscope with vim, if you dont know already.&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://cscope.sourceforge.net/cscope_vim_tutorial.html&amp;quot;&amp;gt;http://cscope.sourceforge.net/cscope_vim_tutorial.html&lt;/a&gt;&lt;br&gt;
&amp;lt;a href=&amp;quot;http://www.faqs.org/docs/ldev/0130091154_242.htm&amp;quot;&amp;gt;http://www.faqs.org/docs/ldev/0130091154_242.htm&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>7 Examples for Sed Hold and Pattern Buffer Operations</title>
      <link>/2009/12/22/7-examples-for-sed-hold-and-pattern-buffer-operations/</link>
      <pubDate>Tue, 22 Dec 2009 07:58:50 +0000</pubDate>
      
      <guid>/2009/12/22/7-examples-for-sed-hold-and-pattern-buffer-operations/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt; &lt;div class=\&#34;kwiclick-action-container visible\&#34; style=\&#34;left: 30px ! important;\&#34;&gt;&lt;img id=\&#34;kwiclick-action-1\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;View\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXJJREFUeNqkU01LAlEUPfOhM6SOjJSBIK6yVgUtWgouWgcJLYN%2BQX8j2vUDWrcJWiZFCkH7domCmZJ9YqmjzpfP3jyYYUSU0AOXe9%2FlnXvPfdzH7Z0%2FgELEfLAdYhGLgCoojuaEw%2FWkn32aMLUaum8FRBK7CIaSMxsfx4PM824iYHdRyWdBGieoXGcQIH3IPD%2FVXHiRVr%2FEiipiPb2B5aiAXv0KYYGbai68EUjvBbIkgZAhJFnCiJ4V30U%2FBO0dUBPjCmKRJHRdpwUI9QPElCSokEkzWghVC5MjbKUP0PrR8Vyr4relY3MtRwkcQrRbxOqwWCEGuPItONucHGF1KYaj%2FTvcXBwilzlFXI6C2AZeS3nqTYhSmLYTQPQ2eDE4XmBEZVsfJagQkLJTUCyenp%2FQbzcZma2coXkk%2F8uwAsOhhWb5niXMQQffjUcM%2Bl%2F%2FWkRWQBAC2N7JsYTrZ4HzaeCcdVzkKzgKsov%2BRhbMq%2BBPgAEAjWu8sz8FVsoAAAAASUVORK5CYII%3D\&#34; alt=\&#34;View\&#34; /&gt;&lt;img id=\&#34;kwiclick-action-2\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;More From\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAABGdBTUEAAK%2FINwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKySURBVDjLpVNfSFNRGP%2Bde%2B%2B2a66Fm3PNdKArUnCaiSijPzCR6qGg3i2itygQetDHXiIf6qWaYBA9%2BBL0EGhPlZUwQoQo1mpsAxss1Klzc3O72527t%2B9cUXor6MDvfBfu9%2Fu%2B3%2Fl95zBd1%2FE%2FS%2BLb1NTUvXK5HKhWq3W1Wo1VKhWToihmHjVNYxaLRbXb7a%2FHxsZGef7IyEgfhZ%2FT09ObLBgMHhJFMdfb2wuuhggGol%2Fe4urFY1CXnuHR%2Bw7YXJ2IxxPXstnsYyLbCFz6gOj1eiNdXV12l8uFVCqF1dVVbGxsoNnTgY%2Bf1xErnERP32kwxrCysnJZEASLLMuQJInl8%2FkzEnU9arPZEIlE0NTUBJ%2FPBzoK6ChwOp2IRqMIhUJwOBwIBAJIp9PI5XJGTiwWOy7xxLW1NTQ2NqJa78GDOQXFHQaN9FmYCWdb2mEvFEh%2BHFwlJyYSCbjdbuOoAt%2BKxSJaW1sx%2B01FRRcgmwhmATXBhPlf9QYxk8kYZFVVQQbvq5R4AXLbwHbNTEQRkkAOkUWMNlU3gyZkgJN5Hv%2Fm0VDAq%2BxV5UvXtV0yFREIosBQKpWMnD8V7BXYV0COwqzXYUeTIfAJ6bsqzFCwtbUFq4chXJpDqW4bB%2FryWM8uGQXE7u7uu1ar1XDW46xHWjGjysTdW6YpOKJ%2BR2L5A9r9NpzqH8BQ%2F3lU5QxSahjZ3DYk3p134ONxZLMYaGszzOFyC%2BR%2BOByG5NvEiQ4%2FmVpDj3sY7368xKDPj2R8FhJ1Hk0mk%2FdJjqWhoYEtLi4yXoDL45EM0w97a8zErLjQecNQdmfoKU1skkya4Ub%2F%2FTH5b7coVy6dk3fodowPP8fEm%2BuQRQtevJopC%2F%2Fy4jRde7gQ%2FkSGSkZnM5MQ%2BjrPfwXZvz7nwVvNExRuEg4SCoTJhSfL478BoeOJpjqa%2BZsAAAAASUVORK5CYII%3D\&#34; alt=\&#34;More From\&#34; /&gt;&lt;img id=\&#34;kwiclick-action-3\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;Tags\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnZJREFUeNqUUl1LlEEUfub92NnxI3UjW5VwF8qPDEFEvQyhKIiiuukiCCSwoD8QFRYYZIEXEf0AIwiRFaEuuorCMhPWsNB1Ww27UWG1xK939%2F2Y6bza5yZKhxnOnJl5znPmOcNa%2B1wwxmByDaYJGDR13xubXjcQBXBDD6DCFJBuFvAy8BTQyzQM0rVtLeraKiY4a%2BAlgOtmwAWH95VhbclrknCfaFuhGE1iiEhbDXCwBseGN9J9u7PnULgxfr%2BrY31FZl1LldrLmcotKyBwVDrELFi9n2xufOr1%2Bwd3OqVtOfHujtFASVNLefORE84ak8YW4AiBB%2FI4qzcosF0gGAqL47F5xTQd0nLA9IDpkFeMmbkJolR2LEjMOgXZzIaI4IUFzbbEQxKtHxpOB4CjRoGnNGbizwQRl5gLggT2mTObm55HCSgbidVuraPdX4u99KyJsRfp0Vcx40fdUS%2FrxfLztHrtJ1jlqEom6JCVMMwlEyMj189fWf0ymTSUlJek41wUItBgSAbbUjmiKBpyY6mFDCxMTr6NXzvZtj47nfT3DE0Y53SuN2mOhywJQ7%2FqLzCk3KiAhTjSqcS7sVtnfoF907X8Yq54sFiUVVTK1Szd96AksRJQui7FCrJIID2dGPpw02dOJXP%2FDBPlNVW1V%2Ft7QpW1LWxp%2BXdD%2FePiXVicGR9O3D17wZr9lMptu98tuCsLi9%2FizwfFwWONfE%2FFPmVZ8J8tC4uQ%2FjzxJtF1qi0zP5XCThYsq66uuzcx3PpMqdanStV1fRwKhqsO4H%2BMh6tqopcf90XaH%2FUGSvfvCGb%2FbBicB3ZHDvvNcxZnXirXdrZL8F2AAQDt7hVVGFZE1gAAAABJRU5ErkJggg%3D%3D\&#34; alt=\&#34;Tags\&#34; /&gt;&lt;img id=\&#34;kwiclick-action-4\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;Comments\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAACPElEQVR42mNkIBKcT7PgYmBk%2Bmk489hfZHFGQhovl3grcEgpLBAwcrL78%2BnN13fHt%2Ff%2F%2BfqpXn%2FSvv8EDTgTq8coaO52Xim7Wx8m9uv9S4ZbbUlZuj3bphM04HSkprpG%2FaIbPOomKOIPZtfsV0xrdcJqwMVEJfE%2F376bsHByXPjzh51dpXzOXT4daxQ196eX71bK6nLDMOBSiqqdmKXZNmEdDe4PF6%2F9fH70bDC7qkWJauV8B0YmJrCa709uMdzpzYnQm7B7JYYBd2utdyoFeLoxvHvF8P%2FNB4YH%2B4%2Bd%2BfidxZ1VUmW5cuEkt9e7l9%2F4cP5At17%2F7nlYY%2BFutfVeJTsjp%2F8vXzP8fXSP4eH5qxdev%2FsdzalutI6RjWstMOSr0b2MYsC5UIl4WW2l%2BXz%2FvzK%2Bv3aD4fF7hurf%2Fxhf%2Fv3PuMd2%2F%2FeH2AIabsC5cCkTGSf7Y%2Bx8%2FKw%2FXr1l4ODkYPj7%2BeP%2FR0eOBhusf7seV0zBDbgUJ1%2BiGxfZ%2Ff%2FDKwaGb98Z%2Fn%2F7yvD%2Fy2eGO6cvT9NY%2BSaboAG3srXnqLg4JDMAE8r%2Fr18Y%2Fn3%2BCMTvGB7ferJPZe1XZ4IG3Cs0PiCvrWT%2F%2F9NboMYPDP8%2BvmH49%2BE1w8vn358obmeQJWjA5XDJKRpGKtn%2FPgIN%2BAiMxvfvgV75y%2FDgE8M2rX0M3gQNOOPB5SatILqD4dNrRoYv3xgYfjMwgHLLy28M6YYHGWYRNAAETjoy8zD%2B%2F8fC%2BO8%2Fw3%2BgbiD%2BZ36E4RMDHgAA1yf3EdCwDEQAAAAASUVORK5CYII%3D\&#34; alt=\&#34;Comments\&#34; /&gt;&lt;img id=\&#34;kwiclick-action-5\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;Share\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfpJREFUeNpi%2FP%2F%2FPwMlgBHZgMt1jB5Aqg6IjYH4LBA36Tb930GUAUDN3uySWluE9ZwZuGR1GL49vsLw9tJehp%2FPr4UCDVmDywAmJHa7oKY2A48UHwPT30dgWkjXgAHqIpyABYmtzsD1l4Hhxz24wH%2B2nxBxIg24%2BfD8ZV15dQkGDjYmhh%2B%2F%2FjE8vPmKgR0ojjcMLtXC2X4vvnNs%2FMPNz8DOy8vw8%2FNnBuavHxkkOX%2BEAuXWEOOCIxKcPzYx%2FPvhzvDxJdBihp8MnAw7gfQ%2BYrygC8S7fss4SfBrOzEIiMsxMP98z%2F7l1gG%2F9%2BfXXwXKeQLxBVyxwAPEW77Lu0kIGrkziEoKMHCxfWXg4GNnEDFxZxCzjZYAym8EqdP7saELiOXQXZD%2FRUhXjkdRi4Gf6ysDG%2BMvBsZ%2FjAznXnNCVAgYMXxQ%2Bil35faLTiDPCoiTgYbEXeII2AoLxPMflF0NZFTlGMREuBhYmCFJg2OmI4OcEDeKc%2B3UxBn4OFgZDt1%2ByXDl6YcOoFANCzie2f4zsDF8ZGD%2B%2B4OB4R9CQ4i1KtaAs9eVZWBhY6m4cP%2BNIsgF34BinOiKgM5k0JQWRBHTkhZi4GRnYTh3%2FzXDtSfvdgOFokEu4MIRQ2nXn75HEQDyS4GUIiiTAcOgCT0hEQRAV60GUtOBmuFpAyDAADksngZKKV2kAAAAAElFTkSuQmCC\&#34; alt=\&#34;Share\&#34; /&gt;&lt;img id=\&#34;kwiclick-action-6\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;Send\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAABGdBTUEAAK%2FINwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAITSURBVBgZpcHLThNhGIDh9%2Fvn7%2FRApwc5VCmFWBPi1mvwAlx7BW69Afeu3bozcSE7E02ILjCRhRrds8AEbKVS2gIdSjvTmf%2BTYqLu%2BzyiqszDMCf75PnnnVwhuNcLpwsXk8Q4BYeSOsWpkqrinJI6JXVK6lSRdDq9PO%2B19vb37XK13Hj0YLMUTVVyWY%2F%2FCf8IVwQEGEeJN47S1YdPo4npDpNmnDh5udOh1YsZRcph39EaONpnjs65oxsqvZEyTaHdj3n2psPpKDLBcuOOGUWpZDOG%2Bq0S7751ObuYUisJGQ98T%2FCt4Fuo5IX%2BMGZr95jKjRKLlSxXxFxOEmaaN4us1Upsf%2B1yGk5ZKhp8C74H5ZwwCGO2drssLZZo1ouIcs2MJikz1oPmapHlaoFXH1oMwphyTghyQj%2BMefG%2BRblcoLlaJG%2F5y4zGCTMikEwTctaxXq%2Fw9kuXdm9Cuzfh9acujXqFwE8xmuBb%2FhCwl1GKAnGccDwIadQCfD9DZ5Dj494QA2w2qtQW84wmMZ1eyFI1QBVQwV5GiaZOpdsPaSwH5HMZULi9UmB9pYAAouBQbMHHrgQcnQwZV%2FKgTu1o8PMgipONu2t5KeaNiEkxgAiICDMCCFeEK5aNauAOfoXx8KR9ZOOLk8P7j7er2WBhwWY9sdbDeIJnwBjBWBBAhGsCmiZxPD4%2F7Z98b%2F0QVWUehjkZ5vQb%2FUn5e%2FDIsVsAAAAASUVORK5CYII%3D\&#34; alt=\&#34;Send\&#34; /&gt;&lt;img id=\&#34;kwiclick-action-7\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;Favorite\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAABmJLR0QA%2FwD%2FAP%2BgvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2QEaEik3GHg09gAAAWFJREFUOMudk7FLQlEUxn%2BGbxF8T7BBEHk3J1vyLdqYYEHji8Atsz3IuT%2BgGh1y1ta75OiQEA0OBWGDVBJhQ%2BQi2QtyELLhCWr4XuSBO9zvnPOdj%2FNxwCWkQJMC3a1mAfcoKyoNKdD%2BTSAFmhrDXNohAJjzKDAjJkS2AMjNQ5APrYMvDGqMlNMuvCO5cSAwwgwgEExg%2BMI2EM1C45CCFDQmettAxSMFutdPO5q1UcUP6jJoMVDUcfXHPQw%2Bx%2F%2FmMVgP5D0jBaVQmpxxNN3kFI%2Bn0CrSAFKTW9%2BtbjLs3DLs951fPc9QCkpO1sXPV3jvPrk2Hzi6kGlzN7Aof73Olt638fJfNqYWk7MJgjZuOhJIgR5MYAAMLLjZh%2BoqveczOx9K2wPcFBjBJLxdQG2DXqeGObAQzRPK9aztkKJNE3h%2FE3SvoVXkEshl2ryM8D0JlattCsNvhNv56lKw9seJT%2BV%2FAKTohYjLFZjPAAAAAElFTkSuQmCC\&#34; alt=\&#34;Favorite\&#34; /&gt;&lt;img id=\&#34;kwiclick-action-8\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;Twitter\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/x-icon;base64,AAABAAEAEBAAAAEACABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAADw4ikA7d0HAO3cAAD16nwA8%2BdoAP7%2B%2FQDz52cA%2FPrpAPTpdgD9%2Ff0A%2F%2F%2F%2BAP39%2FgD8%2FPkA7d0IAPv42QD9%2FfwA%2FP3%2FAPv2yADs2gAA%2B%2Fv4APv2xwD264QA8OI5APPnZgDu3QAA%2BPGgAPXqgADx5E4A9%2B6aAO%2FgGAD164UA9ep%2BAPDiOAD%2B%2FfoA%2Bfr6APfulADx5VAA7dsAAPz89QD37pMA9up8APz8%2FAD8%2BdcA%2FPjUAPz3zQD79MIA%2B%2Fr4AP7%2B%2BAD8%2FPsA%2FfrnAPr1vgD7%2BeEA9uyLAP7%2B%2FAD9%2B%2FAA9eyFAPz54QD7%2B%2FYA7%2BEjAPr31QD48KUA9ep3APz53gD16n8A%2FPv5APjxpgD48akA%2B%2FvxAPr7%2BgDz6GgA798AAP388gDx5EYA9Ol1APXqdQDu3hkA8uZYAPPnXgD%2B%2Fv8A%2FPvzAP7%2F%2FgDv4AAA%2Fv%2F%2FAPz79AD48bEA%2BfO0APbsjAD7%2BNwA%2FfvtAPbtkADv4BQA%2B%2FjfAPv42gD79soA8%2BdgAPPmYwD9%2FPoA%2Ff37APz8%2BAD9%2FPkA%2BfS8APDjOgD8%2FPcA%2B%2FfYAPbuigD69sYA%2BPGiAPv65gD37pYA%2FPrxAOzbAAD69s8A%2FPrqAPbthgD16XYA9elxAPv69QD8%2BuIA%2B%2FjYAPv54wD69tQA7NwAAPjxpAD48Z4A7t4AAP7%2B%2FgD%2F%2F%2F8A%2F%2F%2F%2FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgICAgAUibVx2Dg52TwyAgICAgA8JIzoBAQ0NAiBHgICAgAVjTRIYfHx8fHwSMoCAgIAQcW58fAICAnklSzGAgIB9QwBGUVpoQWoZej6AgICAfXg6AB17EAkLCylQgICAgFJvZUgWaTAKfX01gICAgIBOOyRMG2Q2B3AHayGAgICAfWdeBEUEBgQGBl83L4CAgIBXcz0ICElKcgg9FyqAgICAWz8VHh8DAygDAxpYgICAfTM0WVZVXREUFBF1YICAgH13bBwnPkQTEy5AD4CAgIB9B0JUPDgMgICAgICAgICACmYrLSwmBYCAgICAgICAgIBhdFM5YoCAgICAgICAgPADAADgAwAAwAMAAMADAACABwAAgAcAAIAPAACABwAAgAMAAMADAADAAwAAgAMAAIAHAACA%2FwAAgP8AAMH%2FAAA%3D\&#34; alt=\&#34;Twitter\&#34; /&gt;&lt;img id=\&#34;kwiclick-action-9\&#34; class=\&#34;kwiclick-action-button\&#34; title=\&#34;Facebook\&#34; src=\&#34;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.comimage/x-icon;base64,AAABAAEAEBAAAAAAAABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKx5Yf%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BseWH%2FAAAAAAAAAACeYkX%2FtIRt%2F7SEbf%2B0hG3%2FtIRt%2F7SEbf%2B0hG3%2FtIRt%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FtIRt%2F7SEbf%2B0hG3%2FnmJF%2FwAAAAAAAAAAnmJF%2F7SEbf%2B0hG3%2FtIRt%2F7SEbf%2B0hG3%2FtIRt%2F7SEbf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F7SEbf%2B0hG3%2FtIRt%2F55iRf8AAAAAAAAAAJhZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FAAAAAAAAAACYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2FwAAAAAAAAAAmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F8AAAAAAAAAAJhZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F%2FTu6%2F%2F07uv%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F07uv%2F9O7r%2F5hZO%2F%2BYWTv%2FAAAAAAAAAACYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2BYWTv%2FmFk7%2FwAAAAAAAAAAmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F8AAAAAAAAAAJhZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FAAAAAAAAAACYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F%2FTu6%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2BYWTv%2FmFk7%2FwAAAAAAAAAAmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BreGD%2F9O7r%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FmFk7%2F5hZO%2F8AAAAAAAAAAJhZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FAAAAAAAAAACseWH%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FmFk7%2F5hZO%2F%2BYWTv%2FrHlh%2FwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%2F%2F%2BbvIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAA%2F%2F8AAA%3D%3D\&#34; alt=\&#34;Facebook\&#34; /&gt;
&lt;/div&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.flickr.com/photos/35237104750@N01/259102613&amp;quot;&amp;gt;&amp;lt;img id=&amp;quot;kwiclick-temp-0&amp;quot; title=&amp;quot;txt e-book&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/259102613_bd9628c791_m.jpg&amp;quot; alt=&amp;quot;txt e-book&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/dt&gt; &amp;lt;dd class=&amp;quot;wp-caption-dd zemanta-img-attribution&amp;quot;&amp;gt;Image by &amp;lt;a href=&amp;quot;http://www.flickr.com/photos/35237104750@N01/259102613&amp;quot;&amp;gt;pqs&lt;/a&gt; via Flickr&lt;/dd&gt; &lt;/dl&gt; &lt;/div&gt; &lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Know when you will type :q in your term instead of vi(m), the alias will chewed you out.</title>
      <link>/2009/12/20/know-when-you-will-type-q-in-your-term-instead-of-vim-the-alias-will-chewed-you-out/</link>
      <pubDate>Sun, 20 Dec 2009 07:53:47 +0000</pubDate>
      
      <guid>/2009/12/20/know-when-you-will-type-q-in-your-term-instead-of-vim-the-alias-will-chewed-you-out/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;most simple solution is to alias :q like so:&lt;br&gt;
alias :q=`echo &amp;amp;#8221;This is not vim&amp;amp;#8221;`&lt;/p&gt;
&lt;p&gt;but as someone suggested in commandlinefu, you can use tput to put some color and fun into this.&lt;br&gt;
alias :q=&amp;amp;#8217;tput setaf 1; echo &amp;gt;&amp;amp;2 &amp;amp;#8221;this is NOT vi(m) :/&amp;amp;#8221;; tput sgr0&amp;amp;#8217;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Multiple search in vim</title>
      <link>/2009/11/19/multiple-search-in-vim/</link>
      <pubDate>Thu, 19 Nov 2009 02:02:19 +0000</pubDate>
      
      <guid>/2009/11/19/multiple-search-in-vim/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I was looking at a log file and needed to highlight multiple search items to make the logs more readable. I got into multiple threads suggesting various cryptic vim commands but I was in no mood to remember them. So, I finally hit &amp;lt;a href=&amp;quot;http://www.vim.org/scripts/script.php?script_id=479&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is a cool vim script which you can use to highlight multiple search patter. You can simply add a search term by doing&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>stop indentation on current file in vim to keep the indentation from copied text.</title>
      <link>/2009/10/22/stop-indentation-on-current-file-in-vim-to-keep-the-indentation-from-copied-text/</link>
      <pubDate>Thu, 22 Oct 2009 01:57:24 +0000</pubDate>
      
      <guid>/2009/10/22/stop-indentation-on-current-file-in-vim-to-keep-the-indentation-from-copied-text/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I have been looking for this for quite some time. Finally found two easy ways to do it:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;:setlocal noautoindent&lt;br&gt;
:setlocal nocindent&lt;br&gt;
:setlocal nosmartindent&lt;br&gt;
:setlocal indentexpr=&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Just use the above four commands when the file is already open to stop all the indentation/smart indentation/auto indentation in vim for the current file. If you want to map it then you can use shorthand notations and map it in the .vimrc file.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
