<?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: My vimrc File</title>
	<atom:link href="http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derekwyatt.org</link>
	<description>Vim, OO Design and Piles of Uselessness</description>
	<lastBuildDate>Mon, 30 Aug 2010 07:56:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Derek Wyatt</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-1667</link>
		<dc:creator>Derek Wyatt</dc:creator>
		<pubDate>Fri, 23 Apr 2010 09:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-1667</guid>
		<description>Hey dood.  The question mark merely displays the value.  Because this is a toggle switch, it&#039;s nice to know what the value is after it&#039;s been toggled.</description>
		<content:encoded><![CDATA[<p>Hey dood.  The question mark merely displays the value.  Because this is a toggle switch, it&#8217;s nice to know what the value is after it&#8217;s been toggled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nix</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-1581</link>
		<dc:creator>nix</dc:creator>
		<pubDate>Mon, 12 Apr 2010 05:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-1581</guid>
		<description>PS: I have one question; if you have time:

nmap  ,n :set invhls:set hls?

What  is the question mark used for after the hls.   I tried to set wrap and linebreak in one command.  It works; but seems like I kind of riggged it.  Not sure  if it&#039;s proper.

cnoremap ,wl set invwrap invlinebreak:set wrap? linebreak?


There might be some cruft.</description>
		<content:encoded><![CDATA[<p>PS: I have one question; if you have time:</p>
<p>nmap  ,n :set invhls:set hls?</p>
<p>What  is the question mark used for after the hls.   I tried to set wrap and linebreak in one command.  It works; but seems like I kind of riggged it.  Not sure  if it&#8217;s proper.</p>
<p>cnoremap ,wl set invwrap invlinebreak:set wrap? linebreak?</p>
<p>There might be some cruft.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nix</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-1579</link>
		<dc:creator>nix</dc:creator>
		<pubDate>Mon, 12 Apr 2010 04:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-1579</guid>
		<description>PS:  I should mention that in xterm I have: 
SelectToClipboard: true

This changes the way cut/select/copy/paste works in xterm and vim.  Also some apps like xpdf &amp; xterm don&#039;t  play nice when the clipboard option is set.  Play with the vim settings and the xterm settings.

Should have mentioned it up front. What does &quot;SelectToClipboard&quot;? If you select or highlight something in xterm; it copies it a clipboard so in some GUI app you can use ctrl-v instead of middle clicking.  Yes, the mouse is bad.</description>
		<content:encoded><![CDATA[<p>PS:  I should mention that in xterm I have:<br />
SelectToClipboard: true</p>
<p>This changes the way cut/select/copy/paste works in xterm and vim.  Also some apps like xpdf &amp; xterm don&#8217;t  play nice when the clipboard option is set.  Play with the vim settings and the xterm settings.</p>
<p>Should have mentioned it up front. What does &#8220;SelectToClipboard&#8221;? If you select or highlight something in xterm; it copies it a clipboard so in some GUI app you can use ctrl-v instead of middle clicking.  Yes, the mouse is bad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nix</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-1577</link>
		<dc:creator>nix</dc:creator>
		<pubDate>Mon, 12 Apr 2010 03:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-1577</guid>
		<description>Hope your hose move is going well.

I have learned a lot from the videos as well as the configuration files.  Just thought I might pass along some things you or some of the viewers might find useful.

The pasting/putting here grabs from the clipboard; one and the same on windows not so in the *nix world (cut buffer, select buffer and clipboard). However the text doesn&#039;t get fouled up when pasting or putting. So, this might be quite similar to your &quot;paste mapping&quot;. I think it has some additional nice touches (putting before or after a location; putting over a visual selection).  I  should play with paste more before making that statement.  :help put for details.  

&quot; Paste from X11 clipboard.  Vim has to be compiled with clipboard
&quot; support.  gVim shouldn&#039;t have a problem.
map ,p &quot;+p
map ,P &quot;+P

&quot; Yank from vim to X11 clipboard.  Not sure how this works under
&quot; Windows. Does a &quot;yy&quot; copy to windows clipboard?  If it doesn&#039;t
&quot; This might be useful; if it works the same way or ctrl-c &amp; 
&quot; ctrl-v in windows.

map ,y &quot;+y

&quot; Paste with indents. My fingers don&#039;t like [ ] . Must be out
&quot; of shape.  Well, I am oval; just kidding.  
map ,ip ]p
map ,iP ]P


&quot;  Fun with buffers.
&quot; List buffers and select one file to open.
nnoremap ,b :ls:tab sbuffer

&quot; If you know the buffer number:
cnoremap ,ob tab sbuffer

On a side note to all; I have buffers redirected to tabs; even from the buffer list.  I kind of got hooked on tabs (omg).

&quot;Switch buffer to tabs.  :help switchbuf     for details.
set switchbuf=usetab,newtab

Missing the video Derek.  Hope things are going well.</description>
		<content:encoded><![CDATA[<p>Hope your hose move is going well.</p>
<p>I have learned a lot from the videos as well as the configuration files.  Just thought I might pass along some things you or some of the viewers might find useful.</p>
<p>The pasting/putting here grabs from the clipboard; one and the same on windows not so in the *nix world (cut buffer, select buffer and clipboard). However the text doesn&#8217;t get fouled up when pasting or putting. So, this might be quite similar to your &#8220;paste mapping&#8221;. I think it has some additional nice touches (putting before or after a location; putting over a visual selection).  I  should play with paste more before making that statement.  :help put for details.  </p>
<p>&#8221; Paste from X11 clipboard.  Vim has to be compiled with clipboard<br />
&#8221; support.  gVim shouldn&#8217;t have a problem.<br />
map ,p &#8220;+p<br />
map ,P &#8220;+P</p>
<p>&#8221; Yank from vim to X11 clipboard.  Not sure how this works under<br />
&#8221; Windows. Does a &#8220;yy&#8221; copy to windows clipboard?  If it doesn&#8217;t<br />
&#8221; This might be useful; if it works the same way or ctrl-c &amp;<br />
&#8221; ctrl-v in windows.</p>
<p>map ,y &#8220;+y</p>
<p>&#8221; Paste with indents. My fingers don&#8217;t like [ ] . Must be out<br />
&#8221; of shape.  Well, I am oval; just kidding.<br />
map ,ip ]p<br />
map ,iP ]P</p>
<p>&#8221;  Fun with buffers.<br />
&#8221; List buffers and select one file to open.<br />
nnoremap ,b :ls:tab sbuffer</p>
<p>&#8221; If you know the buffer number:<br />
cnoremap ,ob tab sbuffer</p>
<p>On a side note to all; I have buffers redirected to tabs; even from the buffer list.  I kind of got hooked on tabs (omg).</p>
<p>&#8220;Switch buffer to tabs.  :help switchbuf     for details.<br />
set switchbuf=usetab,newtab</p>
<p>Missing the video Derek.  Hope things are going well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Tiet</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-1516</link>
		<dc:creator>James Tiet</dc:creator>
		<pubDate>Sun, 04 Apr 2010 11:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-1516</guid>
		<description>Thanks for your post,I learn a lot from your vimrc file</description>
		<content:encoded><![CDATA[<p>Thanks for your post,I learn a lot from your vimrc file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Wyatt</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-796</link>
		<dc:creator>Derek Wyatt</dc:creator>
		<pubDate>Sun, 10 Jan 2010 23:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-796</guid>
		<description>Hi Legolas,

There are a few things to try, but first I just have to get this out of the way... you wrote that you do &#039;+*&#039;, which is two commands and the first one (+) will put the cursor one line downward.  If you are actually doing that, and it wasn&#039;t just a misprint, then don&#039;t :)  All you want to hit is &#039;*&#039;.

Now, for the other bits...

- Try typing &#039;:set hls?&#039; and see what happens.  If it says &#039;nohlsearch&#039; then even though you&#039;ve set &#039;hlsearch&#039;  in your vimrc, something else is turning it off.
- Try explicitly typing &#039;:set hls&#039; and then hit &#039;*&#039;.  Does it highlight now?  Again, it&#039;s getting turned off by something.

Give that stuff a go and see what happens.  If you suspect that something else is resetting it for you, then type &#039;:verbose set hls?&#039; and it should tell you what file was responsible for setting it last (you might have to restart Vim to get a &quot;fresh&quot; setting since you probably set it from the command line manually).  See &#039;:help set-verbose&#039; for more information on that one.</description>
		<content:encoded><![CDATA[<p>Hi Legolas,</p>
<p>There are a few things to try, but first I just have to get this out of the way&#8230; you wrote that you do &#8216;+*&#8217;, which is two commands and the first one (+) will put the cursor one line downward.  If you are actually doing that, and it wasn&#8217;t just a misprint, then don&#8217;t :)  All you want to hit is &#8216;*&#8217;.</p>
<p>Now, for the other bits&#8230;</p>
<p>- Try typing &#8216;:set hls?&#8217; and see what happens.  If it says &#8216;nohlsearch&#8217; then even though you&#8217;ve set &#8216;hlsearch&#8217;  in your vimrc, something else is turning it off.<br />
- Try explicitly typing &#8216;:set hls&#8217; and then hit &#8216;*&#8217;.  Does it highlight now?  Again, it&#8217;s getting turned off by something.</p>
<p>Give that stuff a go and see what happens.  If you suspect that something else is resetting it for you, then type &#8216;:verbose set hls?&#8217; and it should tell you what file was responsible for setting it last (you might have to restart Vim to get a &#8220;fresh&#8221; setting since you probably set it from the command line manually).  See &#8216;:help set-verbose&#8217; for more information on that one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: legolas</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-788</link>
		<dc:creator>legolas</dc:creator>
		<pubDate>Sun, 10 Jan 2010 06:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-788</guid>
		<description>Hi Derek,
For your more information. I&#039;ve also set the hlseach in my vimrc file.</description>
		<content:encoded><![CDATA[<p>Hi Derek,<br />
For your more information. I&#8217;ve also set the hlseach in my vimrc file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: legolas</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-787</link>
		<dc:creator>legolas</dc:creator>
		<pubDate>Sun, 10 Jan 2010 06:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-787</guid>
		<description>Hi Derek, 
I&#039;ve one problem. I&#039;ve enabled the source explorer plugin,NERD Tree, and TagList plugins. But when I search for any specific word by pressing +* it doesn&#039;t get highlighted. Can you please help me to find out the settings for this thing..

Thanks in advance..
Legolas</description>
		<content:encoded><![CDATA[<p>Hi Derek,<br />
I&#8217;ve one problem. I&#8217;ve enabled the source explorer plugin,NERD Tree, and TagList plugins. But when I search for any specific word by pressing +* it doesn&#8217;t get highlighted. Can you please help me to find out the settings for this thing..</p>
<p>Thanks in advance..<br />
Legolas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-405</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 10 Nov 2009 06:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-405</guid>
		<description>I don’t like shifting my hand one key over every time I change between normal and insert modes, so I did this:

map j &lt;Left&gt;
map k &lt;Down&gt;
map l &lt;Up&gt;
map ; &lt;Right&gt;
map h &lt;Nop&gt;
nnoremap &lt;c-e&gt; ;
vnoremap &lt;c-e&gt; ;

I also use the first five lines in my vimperator, mutt, and vifm configs.</description>
		<content:encoded><![CDATA[<p>I don’t like shifting my hand one key over every time I change between normal and insert modes, so I did this:</p>
<p>map j &lt;Left&gt;<br />
map k &lt;Down&gt;<br />
map l &lt;Up&gt;<br />
map ; &lt;Right&gt;<br />
map h &lt;Nop&gt;<br />
nnoremap &lt;c-e&gt; ;<br />
vnoremap &lt;c-e&gt; ;</p>
<p>I also use the first five lines in my vimperator, mutt, and vifm configs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Wyatt</title>
		<link>http://www.derekwyatt.org/vim/the-vimrc-file/my-vimrc-file/comment-page-1/#comment-322</link>
		<dc:creator>Derek Wyatt</dc:creator>
		<pubDate>Tue, 03 Nov 2009 11:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.derekwyatt.org/?page_id=236#comment-322</guid>
		<description>I check posts this morning and find you&#039;ve asked and answered your own question.  Nice :)

I probably wouldn&#039;t have been able to help much though.  The normal behaviour of &#039;x&#039; has never seemed surprising.  At the end of the line, the cursor moves because without virtual edit, you can&#039;t go beyond the end of the line so the cursor must be moved.  Virtual edit is an enhancement to Vim to let it do different stuff, not to correct &quot;incorrect&quot; behaviour.  But if it works for you, then cool!</description>
		<content:encoded><![CDATA[<p>I check posts this morning and find you&#8217;ve asked and answered your own question.  Nice :)</p>
<p>I probably wouldn&#8217;t have been able to help much though.  The normal behaviour of &#8216;x&#8217; has never seemed surprising.  At the end of the line, the cursor moves because without virtual edit, you can&#8217;t go beyond the end of the line so the cursor must be moved.  Virtual edit is an enhancement to Vim to let it do different stuff, not to correct &#8220;incorrect&#8221; behaviour.  But if it works for you, then cool!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
