<?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: vim as a man-page reader</title>
	<atom:link href="http://jamesoff.net/site/2008/03/06/vim-as-a-man-page-reader/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesoff.net/site/2008/03/06/vim-as-a-man-page-reader/</link>
	<description>you heard</description>
	<lastBuildDate>Fri, 16 Jul 2010 16:37:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: itai</title>
		<link>http://jamesoff.net/site/2008/03/06/vim-as-a-man-page-reader/comment-page-1/#comment-31815</link>
		<dc:creator>itai</dc:creator>
		<pubDate>Wed, 06 May 2009 17:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://jamesoff.net/site/2008/03/06/vim-as-a-man-page-reader/#comment-31815</guid>
		<description>&lt;p&gt;A solution to the above problem, and also a different approach:&lt;/p&gt;

&lt;p&gt;(a) Inside a directory in your $PATH (say, ~/bin), create a file called &#039;_man2vim&#039;, containing the following:&lt;/p&gt;

&lt;p&gt;#!/bin/sh
   col -b &#124; vim -c &#039;set ft=man nomod&#039; -&lt;/p&gt;

&lt;p&gt;Make this file executable.&lt;/p&gt;

&lt;p&gt;(b) Wherever it is you like to add aliases (be it .bashrc, .bash_alises, .zshrc or anything else), add the following alias:&lt;/p&gt;

&lt;p&gt;alias man=&#039;man --pager=_man2vim&#039;&lt;/p&gt;

&lt;p&gt;(c) Voilà.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A solution to the above problem, and also a different approach:</p>

<p>(a) Inside a directory in your $PATH (say, ~/bin), create a file called &#8216;_man2vim&#8217;, containing the following:</p>

<p>#!/bin/sh
   col -b | vim -c &#8216;set ft=man nomod&#8217; -</p>

<p>Make this file executable.</p>

<p>(b) Wherever it is you like to add aliases (be it .bashrc, .bash_alises, .zshrc or anything else), add the following alias:</p>

<p>alias man=&#8217;man &#8211;pager=_man2vim&#8217;</p>

<p>(c) Voilà.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: itai</title>
		<link>http://jamesoff.net/site/2008/03/06/vim-as-a-man-page-reader/comment-page-1/#comment-30615</link>
		<dc:creator>itai</dc:creator>
		<pubDate>Wed, 29 Apr 2009 07:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://jamesoff.net/site/2008/03/06/vim-as-a-man-page-reader/#comment-30615</guid>
		<description>&lt;p&gt;Very cool!&lt;/p&gt;

&lt;p&gt;Two comments:
A. You might want to use &quot;nmap &quot; instead of &quot;nmap&quot;.
B. This breaks man page autocompletion - instead of being offered man pages, you&#039;re offered files in the current directory (as you would be for vim). Any ideas how to fix this?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very cool!</p>

<p>Two comments:
A. You might want to use &#8220;nmap &#8221; instead of &#8220;nmap&#8221;.
B. This breaks man page autocompletion &#8211; instead of being offered man pages, you&#8217;re offered files in the current directory (as you would be for vim). Any ideas how to fix this?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ivucica</title>
		<link>http://jamesoff.net/site/2008/03/06/vim-as-a-man-page-reader/comment-page-1/#comment-22551</link>
		<dc:creator>ivucica</dc:creator>
		<pubDate>Tue, 17 Mar 2009 16:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://jamesoff.net/site/2008/03/06/vim-as-a-man-page-reader/#comment-22551</guid>
		<description>&lt;p&gt;This is sick, perverted, and ... I like it :)
Although I&#039;m too lazy to actually use it :D&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is sick, perverted, and &#8230; I like it :)
Although I&#8217;m too lazy to actually use it :D</p>]]></content:encoded>
	</item>
</channel>
</rss>
