<?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 backspace key won&#8217;t work in Vim!</title>
	<atom:link href="http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/</link>
	<description>Free-Software, GNU/Linux, Traffic Management &#38; Thoughts</description>
	<lastBuildDate>Sat, 01 Aug 2009 09:41:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: chris</title>
		<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/comment-page-1/#comment-292851</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Tue, 16 Jun 2009 19:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cjbuckley.net/blog/?p=90#comment-292851</guid>
		<description>Pleasure :-)</description>
		<content:encoded><![CDATA[<p>Pleasure :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip Harrington</title>
		<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/comment-page-1/#comment-292841</link>
		<dc:creator>Phillip Harrington</dc:creator>
		<pubDate>Tue, 16 Jun 2009 19:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.cjbuckley.net/blog/?p=90#comment-292841</guid>
		<description>Ahhh thank you for this snippet. Saved me from endless frustration.</description>
		<content:encoded><![CDATA[<p>Ahhh thank you for this snippet. Saved me from endless frustration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szebusa</title>
		<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/comment-page-1/#comment-254451</link>
		<dc:creator>szebusa</dc:creator>
		<pubDate>Sat, 07 Feb 2009 11:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.cjbuckley.net/blog/?p=90#comment-254451</guid>
		<description>Thank you soooo much, set t_kb=^? did it - other forums just suggested
set backspace=2 which didn&#039;t solve the problem :D</description>
		<content:encoded><![CDATA[<p>Thank you soooo much, set t_kb=^? did it &#8211; other forums just suggested<br />
set backspace=2 which didn&#8217;t solve the problem :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerome</title>
		<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/comment-page-1/#comment-1497</link>
		<dc:creator>Jerome</dc:creator>
		<pubDate>Mon, 05 Mar 2007 11:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.cjbuckley.net/blog/?p=90#comment-1497</guid>
		<description>Thank you so much! I&#039;ve been sitting here for a good 20mins trying to figure out what was going on, as opposed to starting my assignment.

Thanks again. Jerome</description>
		<content:encoded><![CDATA[<p>Thank you so much! I&#8217;ve been sitting here for a good 20mins trying to figure out what was going on, as opposed to starting my assignment.</p>
<p>Thanks again. Jerome</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amanda</title>
		<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/comment-page-1/#comment-1101</link>
		<dc:creator>amanda</dc:creator>
		<pubDate>Sun, 25 Feb 2007 04:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cjbuckley.net/blog/?p=90#comment-1101</guid>
		<description>This didn&#039;t work for me. I&#039;ve still got a forward delete for a backspace key. What gives?</description>
		<content:encoded><![CDATA[<p>This didn&#8217;t work for me. I&#8217;ve still got a forward delete for a backspace key. What gives?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/comment-page-1/#comment-118</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 28 Oct 2006 23:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cjbuckley.net/blog/?p=90#comment-118</guid>
		<description>Stuart, good comments as always! ;)  However, the above settings work 100% for me in both SSH and local xterm&#039;s.</description>
		<content:encoded><![CDATA[<p>Stuart, good comments as always! ;)  However, the above settings work 100% for me in both SSH and local xterm&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stuart</title>
		<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/comment-page-1/#comment-117</link>
		<dc:creator>stuart</dc:creator>
		<pubDate>Sat, 28 Oct 2006 23:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.cjbuckley.net/blog/?p=90#comment-117</guid>
		<description>... and actually, it&#039;s the wrong way around!

Firstly, the first line makes ^? and ^H indistinguishable, so there&#039;s no way to tell backspace (delete-left) from delete (delete-right).  This is obviously wrong, and so should be omitted.

The second line maps the backspace function to delete, the third line maps the delete function to backspace!

So the correct entries in .vimrc are:

&quot; Ensure correct delete/backspace mapping, even from ssh
set t_kb=^?
set t_kD=^H
set backspace=indent,eol,start

... noting that &quot;^?&quot; is input by typing ctrl+v, then backspace, and &quot;^H&quot; from ctrl+v then delete.  Depending on the language settings and unicode mode on either end of an ssh connection, this may not appear as ^H, you may see something similar to &quot;^[[3~&quot;.

Yay to fully unicode OSs &lt;sigh&gt;

(Everyone should try &lt;a href=&quot;http://cm.bell-labs.com/plan9/&quot; rel=&quot;nofollow&quot;&gt;Plan 9&lt;/a&gt; at least once ;)</description>
		<content:encoded><![CDATA[<p>&#8230; and actually, it&#8217;s the wrong way around!</p>
<p>Firstly, the first line makes ^? and ^H indistinguishable, so there&#8217;s no way to tell backspace (delete-left) from delete (delete-right).  This is obviously wrong, and so should be omitted.</p>
<p>The second line maps the backspace function to delete, the third line maps the delete function to backspace!</p>
<p>So the correct entries in .vimrc are:</p>
<p>&#8221; Ensure correct delete/backspace mapping, even from ssh<br />
set t_kb=^?<br />
set t_kD=^H<br />
set backspace=indent,eol,start</p>
<p>&#8230; noting that &#8220;^?&#8221; is input by typing ctrl+v, then backspace, and &#8220;^H&#8221; from ctrl+v then delete.  Depending on the language settings and unicode mode on either end of an ssh connection, this may not appear as ^H, you may see something similar to &#8220;^[[3~&#8221;.</p>
<p>Yay to fully unicode OSs &lt;sigh&gt;</p>
<p>(Everyone should try <a href="http://cm.bell-labs.com/plan9/" rel="nofollow">Plan 9</a> at least once ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stuart</title>
		<link>http://www.cjbuckley.net/blog/2006/10/28/my-backspace-key-wont-work-in-vim/comment-page-1/#comment-116</link>
		<dc:creator>stuart</dc:creator>
		<pubDate>Sat, 28 Oct 2006 23:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.cjbuckley.net/blog/?p=90#comment-116</guid>
		<description>Or, for the current way to perform the fourth action in versions of vim from 5.5 onwards:

:set backspace=indent,eol,start

(Note that this allows backspacing over autoindents and line breaks, allows deletion from before the point where the current insertion commenced)

... so it&#039;s not required to get backspace/delete working properly - but it&#039;s certainly nice to have!</description>
		<content:encoded><![CDATA[<p>Or, for the current way to perform the fourth action in versions of vim from 5.5 onwards:</p>
<p>:set backspace=indent,eol,start</p>
<p>(Note that this allows backspacing over autoindents and line breaks, allows deletion from before the point where the current insertion commenced)</p>
<p>&#8230; so it&#8217;s not required to get backspace/delete working properly &#8211; but it&#8217;s certainly nice to have!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
