Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2000 03:58:04 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        William Freeman <wdf@picusnet.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: backspace key in Vi(m) under Xterm
Message-ID:  <20000407035803.A11782@hades.hell.gr>
In-Reply-To: <38EBA947.3E2F09C0@picusnet.com>; from wdf@picusnet.com on Wed, Apr 05, 2000 at 04:59:51PM -0400
References:  <38EBA947.3E2F09C0@picusnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 05, 2000 at 04:59:51PM -0400, William Freeman wrote:

> hey, i've been an Emacs user for like, 3 years and when i still had a
> copy of Linux around (about a year ago) i started playing around with
> the Vim editor. i was just wondering if anyone would happen to know
> how to get the Backspace key to actualy go back a space so i don't
> have to get RSI reaching for the Delete key.  Emacs is just too slow
> to start and i need somthing more pure and fast.

You can make the real backspace, work as a backspare in all the
applications started within an xterm easily :)

Just add to your X resources file [this is called ~/.Xresources in my
setup] the following line:

	% grep backspace ~/.Xresources
	XTerm*backspacekey: ^H

then make sure that your ~/.xinitrc script calls xrdb -merge on the
resources file:

	% grep xrdb ~/.xinitrc
	xrdb -merge ~/.Xresources

Oh, you don't have to restart X to load the ~/.Xresources file.  Just
run the xrdb command from and xterm.  The xterms loaded after that will
read the new resources.

Ciao,
- Giorgos Keramidas


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000407035803.A11782>