<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Editors on Amit Agarwal Linux Blog</title>
    <link>/tags/editors/</link>
    <description>Recent content in Editors on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 12 Sep 2016 01:15:31 +0000</lastBuildDate>
    
	<atom:link href="/tags/editors/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>enki editor – amazing for md and rst files</title>
      <link>/2016/09/12/enki-editor-amazing-md-rst-files/</link>
      <pubDate>Mon, 12 Sep 2016 01:15:31 +0000</pubDate>
      
      <guid>/2016/09/12/enki-editor-amazing-md-rst-files/</guid>
      <description>&lt;p&gt;First, you need to install enki. YOu can do so with&lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;sudo yum install enki&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And then you can use the editor as usual. The first thing that you will notice is the navigator window. And here is screenshot for you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;figure id=&#34;attachment_4845&#34; aria-describedby=&#34;caption-attachment-4845&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;&lt;img class=&#34;size-medium wp-image-4845&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?resize=300%2C169&#34; alt=&#34;Enki Editor&#34; width=&#34;300&#34; height=&#34;169&#34; srcset=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?resize=300%2C169 300w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?resize=768%2C432 768w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?resize=1024%2C576 1024w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?w=1920 1920w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2016/09/enki.jpg?w=1376 1376w&#34; sizes=&#34;(max-width: 300px) 100vw, 300px&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;figcaption id=&#34;caption-attachment-4845&#34; class=&#34;wp-caption-text&#34;&gt;Enki Editor main window&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;As you can see if you make a typo or mistake then you will immediately be warned with RED color.&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>bash – using the vi mode more effectively.</title>
      <link>/2013/11/22/bash-vi-mode-effectively/</link>
      <pubDate>Fri, 22 Nov 2013 01:50:24 +0000</pubDate>
      
      <guid>/2013/11/22/bash-vi-mode-effectively/</guid>
      <description>&lt;figure style=&#34;width: 240px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/36867590@N00/397369388&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Vi blogging bundle&#34; alt=&#34;Vi blogging bundle&#34; src=&#34;https://i1.wp.com/farm1.static.flickr.com/160/397369388_6935e4572a_m.jpg?resize=240%2C180&#34; width=&#34;240&#34; height=&#34;180&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Vi blogging bundle (Photo credit: pedro mg)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;You can first set the &lt;a class=&#34;zem_slink&#34; title=&#34;Bash (Unix shell)&#34; href=&#34;http://www.gnu.org/software/bash/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;bash&lt;/a&gt; mode to &lt;a class=&#34;zem_slink&#34; title=&#34;Vi&#34; href=&#34;http://en.wikipedia.org/wiki/Vi&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;vi&lt;/a&gt;. This will enable some vim like features to bash. So, add this to .bashrc :&lt;/p&gt;
&lt;pre class=&#34;brush: actionscript3; gutter: true; first-line: 1&#34;&gt;set -o vi&lt;/pre&gt;
&lt;p&gt;Once, you have done that then its time to get more out of the vi mode. First, check some things and set some interesting stuff.&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>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>Cont: Get yourself some more conkyrc files.</title>
      <link>/2011/10/12/cont-conkyrc-files/</link>
      <pubDate>Wed, 12 Oct 2011 11:03:40 +0000</pubDate>
      
      <guid>/2011/10/12/cont-conkyrc-files/</guid>
      <description>&lt;p&gt;Last time we got ourselves some conkyrc &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;&gt;files&lt;/a&gt; from the ubuntu forums. But that scripts gets the files only from the First page of the thread. Lets extend this further and get the script to get all the conkyrc files.&lt;/p&gt;
&lt;p&gt;There are some 1048 pages in the thread, I am showing pages 1 to 3 but you can change 3 to whatever number you want 🙂&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;count=0
for i in {1..3}
do
    &amp;gt;.test
    &amp;gt;conkyrc
	echo &#34;Getting page $i&#34;
	curl http://ubuntuforums.org/showthread.php?t=281865\&amp;page=$i |&lt;a class=&#34;zem_slink&#34; title=&#34;Path (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/Path_%28computing%29&#34; rel=&#34;wikipedia&#34;&gt;\\&lt;/a&gt;
         &lt;a class=&#34;zem_slink&#34; title=&#34;Sed&#34; href=&#34;http://en.wikipedia.org/wiki/Sed&#34; rel=&#34;wikipedia&#34;&gt;sed&lt;/a&gt; -n &#39;// d&#39;|\
         sed &#39;s##\n-----------------------------------\n\n\n#&#39; \
         &amp;gt;conkyrc
	dos2unix conkyrc
	cp conkyrc .test
	while [ $(wc -l .test|sed &#39;s/[^0-9]//g&#39;) != 0 ]
	do
		sed -n &#39;1,/------------------------/ p&#39; .test|sed &#39;$d&#39; &amp;gt;conkyrc.$count
		diff .test conkyrc.$count |sed &#39;s/^&amp;lt;.//&#39;|sed &#39;1, /---------------------/ d;2d&#39;&amp;gt;.test
		((count++))
	done
	echo &#34;Files so far are : $count&#34;
done&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&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/10/05/conkyrc-files/&#34;&gt;Get yourself some conkyrc files.&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://putokaz.wordpress.com/2011/09/16/htc-like-clock-weather-conky-configuration/&#34;&gt;HTC-Like Clock / Weather Conky Configuration&lt;/a&gt; (putokaz.wordpress.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://lezeng.wordpress.com/2011/10/06/split-and-join-file-on-mac-osx-terminal/&#34;&gt;Split and join file on Mac OSX Terminal&lt;/a&gt; (lezeng.wordpress.com)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Script to get yourself some conkyrc files</title>
      <link>/2011/10/08/script-conkyrc-files/</link>
      <pubDate>Sat, 08 Oct 2011 10:37:48 +0000</pubDate>
      
      <guid>/2011/10/08/script-conkyrc-files/</guid>
      <description>&lt;p&gt;Continuing from where we left, here is a script that can do all this for you 🙂&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;curl http://ubuntuforums.org/showthread.php?t=281865\&amp;page=$i | sed -n &#39;/\\/pr/ p&#39;| sed &#39;// d&#39;| sed &#39;s##\n-----------------------------------\n\n\n#&#39; &amp;gt;conkyrc
	dos2unix conkyrc
	cp conkyrc .test
	while [ $(wc -l .test|sed &#39;s/[^0-9]//g&#39;) != 0 ]
	do
		sed -n &#39;1,/------------------------/ p&#39; .test|sed &#39;$d&#39; &amp;gt;conkyrc.$count
		diff .test conkyrc.$count |sed &#39;s/^&amp;lt;.//&#39;|sed &#39;1, /---------------------/ d;2d&#39;&amp;gt;.test
		((count++))
	done&lt;/pre&gt;
&lt;p&gt;This will create couple of conkyrc.files in the &lt;a class=&#34;zem_slink&#34; title=&#34;Working directory&#34; href=&#34;http://en.wikipedia.org/wiki/Working_directory&#34; rel=&#34;wikipedia&#34;&gt;current directory&lt;/a&gt;. Each of these is one from the &lt;a class=&#34;zem_slink&#34; title=&#34;Web page&#34; href=&#34;http://en.wikipedia.org/wiki/Web_page&#34; rel=&#34;wikipedia&#34;&gt;web-page&lt;/a&gt; that I mentioned earlier. So, enjoy….&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>GPG error on N900 when doing update on command line</title>
      <link>/2011/06/22/gpg-error-n900-update-command-line/</link>
      <pubDate>Wed, 22 Jun 2011 01:57:01 +0000</pubDate>
      
      <guid>/2011/06/22/gpg-error-n900-update-command-line/</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: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;https://i0.wp.com/commons.wikipedia.org/wiki/File:Nokia_N900-1.jpg&#34;&gt;&lt;img title=&#34;Nokia N900 communicator/internet tablet&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/zemanta//300px-Nokia_N900-1.jpg?resize=300%2C228&#34; alt=&#34;Nokia N900 communicator/internet tablet&#34; width=&#34;300&#34; height=&#34;228&#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;If you have added some extra repositories to your &lt;a class=&#34;zem_slink&#34; title=&#34;Nokia N900&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Nokia_N900&#34;&gt;Nokia N900&lt;/a&gt; and are trying to do something ( like update, install or any other &lt;a class=&#34;zem_slink&#34; title=&#34;Advanced Packaging Tool&#34; rel=&#34;homepage&#34; href=&#34;http://wiki.debian.org/Apt&#34;&gt;apt-get&lt;/a&gt; operation) you might see some errors or warnings related to the &lt;a class=&#34;zem_slink&#34; title=&#34;GNU Privacy Guard&#34; rel=&#34;homepage&#34; href=&#34;http://www.gnupg.org/&#34;&gt;GPG&lt;/a&gt; keys. The errors would come because the Public keys for the reporisitories are not present in the gpg database 🙂&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>[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>Handy one-liners for SED</title>
      <link>/2010/09/14/handy-oneliners-sed/</link>
      <pubDate>Tue, 14 Sep 2010 07:19:51 +0000</pubDate>
      
      <guid>/2010/09/14/handy-oneliners-sed/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34; style=\&#34;margin: 1em; display: block;\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34; style=\&#34;width: 310px;\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/File:Unix_history-simple.svg\&#34;&gt;&lt;img title=\&#34;A diagram showing the key Unix and Unix-like o...\&#34; src=\&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/7/77/Unix_history-simple.svg/300px-Unix_history-simple.svg.png\&#34; alt=\&#34;A diagram showing the key Unix and Unix-like o...\&#34; width=\&#34;300\&#34; height=\&#34;193\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34; style=\&#34;font-size: 0.8em;\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/File:Unix_history-simple.svg\&#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;Here are some links to sed one liners, pretty useful if you want to use the power of sed.&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.freearchive.org/o/dd1ebea77f64bdef5982d50e868990202b0bf6f21b42e26ebb0ab1011d6ce546&amp;quot;&amp;gt;http://www.freearchive.org/o/dd1ebea77f64bdef5982d50e868990202b0bf6f21b42e26ebb0ab1011d6ce546&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.unixguide.net/unix/sedoneliner.shtml&amp;quot;&amp;gt;http://www.unixguide.net/unix/sedoneliner.shtml&lt;/a&gt;&lt;br&gt;
&amp;lt;a href=&amp;quot;http://sed.sourceforge.net/sed1line.txt&amp;quot;&amp;gt;http://sed.sourceforge.net/sed1line.txt&lt;/a&gt; &amp;lt;a href=&amp;quot;http://www.thegeekstuff.com/2010/06/bash-array-tutorial/&amp;quot;&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://www.thegeekstuff.com/2010/06/bash-array-tutorial/&amp;quot;&amp;gt;http://www.thegeekstuff.com/2010/06/bash-array-tutorial/&lt;/a&gt;&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot; style=&amp;quot;font-size: 1em;&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.ibm.com/developerworks/linux/library/l-sed1.html&amp;quot;&amp;gt;imabonehead: Common threads: Sed by example, Part 1&lt;/a&gt; (ibm.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.thegeekstuff.com/2009/11/unix-sed-tutorial-append-insert-replace-and-count-file-lines/&amp;quot;&amp;gt;imabonehead: Unix Sed Tutorial: Append, Insert, Replace, and Count File Lines&lt;/a&gt; (thegeekstuff.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot; style=&amp;quot;margin-top: 10px; height: 15px;&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Enhanced by Zemanta&amp;quot; href=&amp;quot;http://www.zemanta.com/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; style=&amp;quot;border: medium none; float: right;&amp;quot; src=&amp;quot;http://img.zemanta.com/zemified_e.png?x-id=be4d9a3b-c27c-46eb-8b76-2a1aa1900a4e&amp;quot; alt=&amp;quot;Enhanced by Zemanta&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related pretty-attribution&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&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>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>In (any) vi, add a keystroke to format the current paragraph.</title>
      <link>/2010/04/11/in-any-vi-add-a-keystroke-to-format-the-current-paragraph/</link>
      <pubDate>Sun, 11 Apr 2010 09:11:58 +0000</pubDate>
      
      <guid>/2010/04/11/in-any-vi-add-a-keystroke-to-format-the-current-paragraph/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a id=&amp;quot;aptureLink_F2g9MXMw3t&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Vi&amp;quot;&amp;gt;vi editor&lt;/a&gt; is very powerful in the sense that you can use maps, abbreviations and recordings. One such example is when you are trying to write a email or trying to write a paragraph and you want to format it. You can create a mapping like so, in your .exrc or .vimrc and use it to format the paragraph.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;tt&gt;map ^A !}fmt&lt;/tt&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://www.slumpedoverkeyboarddead.com/2009/08/19/nano-text-editor-course/&amp;quot;&amp;gt;Nano Text Editor Course&lt;/a&gt; (slumpedoverkeyboarddead.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/af58b127-c811-4fc3-bce6-9f44fcdc03c3/&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_b22.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>
    
  </channel>
</rss>
