<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Peter Krantz &#187; VIM</title>
	<atom:link href="http://www.peterkrantz.com/category/vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterkrantz.com</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 09:57:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Making FuzzyFinder work in MacVim 7.3</title>
		<link>http://www.peterkrantz.com/2010/fuzzyfinder-in-macvim/</link>
		<comments>http://www.peterkrantz.com/2010/fuzzyfinder-in-macvim/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 07:06:14 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[VIM]]></category>
		<category><![CDATA[fuzzyfinder]]></category>
		<category><![CDATA[macvim]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/?p=382</guid>
		<description><![CDATA[I have seen many posts that are having trouble getting FuzzyFinder to work in MacVim. In certain configurations you will see multiple errors "E806: using Float as a String". This is because some locales make MacVim treat floating point numbers differently. Here is how I did to make it work on my system. As an added bonus we will map it to the Apple-T key and default it to subdirectory search.]]></description>
			<content:encoded><![CDATA[<p>I have seen many posts that are having trouble getting <a href="http://www.vim.org/scripts/script.php?script_id=1984">FuzzyFinder</a> to work in <a href="http://code.google.com/p/macvim/">MacVim</a>. In certain configurations you will see multiple errors &#8220;E806: using Float as a String&#8221;. This is because some locales make MacVim treat floating point numbers differently. Here is how I did to make it work on my system (OS X 10.6.4 and MacVim 7.3). As an added bonus we will map it to the Apple-T key and default it to subdirectory search.<span id="more-382"></span></p>
<p>If you try &#8220;:let s = 0.5&#8243; in MacVim and get an error you are affected. This happens when you have launched MacVim from Finder. In this case MacVim does not pick up all the locale settings properly for some reason. This includes the settings for the separator character in floating point numbers which may make all vim scripts with a dot separator (&#8220;0.05&#8243;) fail.</p>
<p>1. Install the FuzzyFinder script (including the l9 library).</p>
<p>2. In your .gvimrc add the following lines. This will deconnect the Apple-T from File-&gt;New tab and instead invoke FuzzyFinder with a wildcard for subdir search:</p>
<pre>if has("gui_mac") || has("gui_macvim")
  macmenu &amp;File.New\ Tab     key=&lt;Nop&gt;
  map &lt;silent&gt;&lt;D-t&gt; :FufFile **/&lt;CR&gt;
endif</pre>
<p>Now, start MacVim from terminal with &#8220;mvim&#8221; instead of double-clicking the icon in Finder and try Apple-T. FuzzyFinder should now work correctly. Here are some of the discussions for reference:</p>
<ul>
<li><a href="http://bitbucket.org/ns9tks/vim-l9/issue/2/errors-in-l9-in-macvim-73">Error in vim-l9</a></li>
<li>
<div id="_mcePaste"><a href="http://groups.google.com/group/vim_mac/browse_thread/thread/cc8c578386b3f448">FuzzyFinder and error E806: using Float as a String</a></div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2010/fuzzyfinder-in-macvim/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Ideal VIM Keyboard</title>
		<link>http://www.peterkrantz.com/2006/vim-keyboard/</link>
		<comments>http://www.peterkrantz.com/2006/vim-keyboard/#comments</comments>
		<pubDate>Thu, 26 Oct 2006 20:27:43 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[VIM]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/2006/vim-keyboard/</guid>
		<description><![CDATA[My colleague Niklas nagged me for not having disabled the caps lock key on my MacBook Pro. ...]]></description>
			<content:encoded><![CDATA[<p>My colleague <a href="http://dustfeed.blogspot.com/">Niklas</a> nagged me for not having disabled the caps lock key on my MacBook Pro. I was a bit disoriented at first but coming to think of it, I haven&#8217;t used the caps lock key since I got the MBP back in April.</p>
<p>This made me think about which keys I actually use. Being a recent VIM convert I wonder if Apple&#8217;s designers hate VIM. Efficient editing in VIM require you to use the escape key a lot. On the MBP the escape key is one of the smallest keys on the keyboard for some reason.</p>
<p>Am I whining about superfluous things? Maybe so. Maybe I should just shut up and remap my caps lock key to escape.</p>
<h2>Give me larger keys!</h2>
<p>The ideal VIM keyboard should have a large escape key. The colon is used a lot too. Maybe it could look something like this:</p>
<p><a href="/wp-content/uploads/2006/10/vim-keyboard.jpg"><img id="image41" src="/wp-content/uploads/2006/10/vim-keyboard-small.jpg" alt="The ideal VIM keyboard" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2006/vim-keyboard/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.peterkrantz.com @ 2012-02-04 11:04:58 -->
