<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Use Vim As A Syntax Highlighting Pager</title>
	<atom:link href="http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:29:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: huyz</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-14831</link>
		<dc:creator>huyz</dc:creator>
		<pubDate>Mon, 04 Jul 2011 05:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-14831</guid>
		<description>I fixed a few problems with that macro file and released it:
http://huyz.us/2011/a-less-like-pager-with-color-syntax-highlighting/</description>
		<content:encoded><![CDATA[<p>I fixed a few problems with that macro file and released it:<br />
<a href="http://huyz.us/2011/a-less-like-pager-with-color-syntax-highlighting/" rel="nofollow">http://huyz.us/2011/a-less-like-pager-with-color-syntax-highlighting/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raphi</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-14696</link>
		<dc:creator>raphi</dc:creator>
		<pubDate>Sat, 02 Apr 2011 08:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-14696</guid>
		<description>thanks a lot for that snippet, just added to my bashrc!</description>
		<content:encoded><![CDATA[<p>thanks a lot for that snippet, just added to my bashrc!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorenzo</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-14581</link>
		<dc:creator>Lorenzo</dc:creator>
		<pubDate>Thu, 10 Feb 2011 13:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-14581</guid>
		<description>Thanks, nice tip!
As of today many distrose ship Vim 7.2 (e.g. Ubuntu) thus the macro is in:
/usr/share/vim/vim72/macros/less.vim

So that the .bashrc file should be:
alias vless=&#039;vim -u /usr/share/vim/vim72/macros/less.vim&#039;

In general one might check for the correct path doing a:
locate less.vim</description>
		<content:encoded><![CDATA[<p>Thanks, nice tip!<br />
As of today many distrose ship Vim 7.2 (e.g. Ubuntu) thus the macro is in:<br />
/usr/share/vim/vim72/macros/less.vim</p>
<p>So that the .bashrc file should be:<br />
alias vless=&#8217;vim -u /usr/share/vim/vim72/macros/less.vim&#8217;</p>
<p>In general one might check for the correct path doing a:<br />
locate less.vim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rink</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-12180</link>
		<dc:creator>Rink</dc:creator>
		<pubDate>Sun, 07 Nov 2010 22:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-12180</guid>
		<description>Thanks, this is very useful (I use it a lot for inspecting Mercurial diff output) - much appreciated!</description>
		<content:encoded><![CDATA[<p>Thanks, this is very useful (I use it a lot for inspecting Mercurial diff output) &#8211; much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skip tari</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-10551</link>
		<dc:creator>skip tari</dc:creator>
		<pubDate>Thu, 04 Feb 2010 20:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-10551</guid>
		<description>add -n as paraeter to vim to avoid getting the .swp error if file is being edited somewhere else.</description>
		<content:encoded><![CDATA[<p>add -n as paraeter to vim to avoid getting the .swp error if file is being edited somewhere else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben L</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-8603</link>
		<dc:creator>Ben L</dc:creator>
		<pubDate>Sun, 26 Apr 2009 15:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-8603</guid>
		<description>the vim runtime directory has a wrapper script to do this in a more portable way, so it doesn&#039;t matter where your macro directory lives (e.g. if you work on alot of different boxes with various versions of vim) have a look at less.sh in your $VIMRUNTIME/macros director 
 
 </description>
		<content:encoded><![CDATA[<p>the vim runtime directory has a wrapper script to do this in a more portable way, so it doesn&#039;t matter where your macro directory lives (e.g. if you work on alot of different boxes with various versions of vim) have a look at less.sh in your $VIMRUNTIME/macros director</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artur</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-8480</link>
		<dc:creator>Artur</dc:creator>
		<pubDate>Wed, 08 Apr 2009 09:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-8480</guid>
		<description>Hi,

its a very useful trick, but I need to go a step further. I use &quot;watch&quot; very often, but the above script stops vim without return to shell if the content is shorter then the page height. How to &quot;release&quot; vim and come back to command prompt?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>its a very useful trick, but I need to go a step further. I use &#8220;watch&#8221; very often, but the above script stops vim without return to shell if the content is shorter then the page height. How to &#8220;release&#8221; vim and come back to command prompt?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bit</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-8045</link>
		<dc:creator>Bit</dc:creator>
		<pubDate>Sat, 07 Mar 2009 16:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-8045</guid>
		<description>A very usefull tip. My unique problem was my dark background, the highlight is dark too and it is difficult to read. Solution:

alias vless=&#039;vim -u /usr/share/vim/vim71/macros/less.vim &quot;+set background=dark&quot;&#039;

;)</description>
		<content:encoded><![CDATA[<p>A very usefull tip. My unique problem was my dark background, the highlight is dark too and it is difficult to read. Solution:</p>
<p>alias vless=&#8217;vim -u /usr/share/vim/vim71/macros/less.vim &#8220;+set background=dark&#8221;&#8216;</p>
<p> <img src='http://ubuntu-tutorials.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dr Small</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-5825</link>
		<dc:creator>Dr Small</dc:creator>
		<pubDate>Wed, 24 Sep 2008 19:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-5825</guid>
		<description>Thanks for the tip. It wasn&#039;t in the same location on ArchLinux as it was on Ubuntu, but I found it here:

/usr/share/vim/macros/less.vim</description>
		<content:encoded><![CDATA[<p>Thanks for the tip. It wasn&#8217;t in the same location on ArchLinux as it was on Ubuntu, but I found it here:</p>
<p>/usr/share/vim/macros/less.vim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/#comment-5690</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 21 Aug 2008 15:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=730#comment-5690</guid>
		<description>Uh, on most distros, there is already a &quot;view&quot; hard link to vim, so &quot;view&quot; does the same as your tip.</description>
		<content:encoded><![CDATA[<p>Uh, on most distros, there is already a &#8220;view&#8221; hard link to vim, so &#8220;view&#8221; does the same as your tip.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 2/6 queries in 0.003 seconds using disk: basic
Object Caching 313/314 objects using disk: basic

Served from: ubuntu-tutorials.com @ 2012-02-09 19:31:42 -->
