<?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>Cardeo &#187; vim</title>
	<atom:link href="http://www.cardeo.ca/tag/vim/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cardeo.ca</link>
	<description>Ramblings on web design and social media</description>
	<lastBuildDate>Wed, 28 Jul 2010 05:29:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fixing backspace in VIM for OSX</title>
		<link>http://www.cardeo.ca/2009/fixing-backspace-in-vim-for-osx</link>
		<comments>http://www.cardeo.ca/2009/fixing-backspace-in-vim-for-osx#comments</comments>
		<pubDate>Thu, 12 Nov 2009 04:12:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[backspace]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.cardeo.ca/?p=1959</guid>
		<description><![CDATA[Finally, I figured this out! It&#8217;s been driving me nuts for months. On my MacBook, in VIM, the default backspace (actually labeled delete) key has deleted the letter the cursor was on. I&#8217;ve always wanted this to behave as a regular backspace button, where it deletes the character to the left of the cursor. Well [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I figured this out! It&#8217;s been driving me nuts for months. On my MacBook, in VIM, the default backspace (actually labeled delete) key has deleted the letter the cursor was on. I&#8217;ve always wanted this to behave as a regular backspace button, where it deletes the character to the left of the cursor. Well my friends, thanks to <a href="http://blog.edogg.com/index.php?/archives/19-How-to-fix-the-backspace-keep-in-vim-on-OS-X.html" target="_blank">this article</a>, I&#8217;ve finally figured it out. Check out the instructions below for how to set this up.<br />
<span id="more-1959"></span></p>
<h4>Create and/or find your VIM settings file</h4>
<p>On the root of your server, create (if there isn&#8217;t one already) a file called <b>vimrc</b>. To see if you already have this setup, input the following command <b>vim ~/.vimrc</b>. If you see a page with a number of options you&#8217;re there, if it&#8217;s blank just add the below code and save it &#8211; which will also create the file.</p>
<p><em>Save is <b>:w</b> if you&#8217;re new to VIM.</em></p>
<h4>The code to fix backspace</h4>
<p>Insert the following code in your <b>vimrc</b> file. </p>
<blockquote><p><b>set backspace=indent,eol,start</b><br />
&#8221; note that the following &#8220;ctrl-vBACKSPACE&#8221; is made by hitting ctrl-v and then backspace&#8230;<br />
<b>set t_kb=ctrl-vBACKSPACE<br />
fixdel</b></p></blockquote>
<p>Save your <b>vimrc</b> file, open another file and test it out. Your cursor should now be deleting the character to the left of it. YES!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cardeo.ca/2009/fixing-backspace-in-vim-for-osx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
