Michael C. Toren on Thu, 22 Oct 1998 10:51:35 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Emacs Key Bindings


On Thu, 22 Oct 1998, Adam wrote:

> can someone help me to get my backspace working?
> I know that it somehow involves binding ^H to
> backward-delete-char, but Im not sure how to do this.
> Thanks

Hi Adam,

You can stick this in your ~/.emacs file:

	(global-set-key "\C-h" 'delete-backward-char)
	(global-set-key "\M-?" 'help-command)

Both the backspace and delete keys will now remove the character to the
left of the point.  In addition, "M-?" (ESC, question mark) is now bound
to the help-command function.  So, for instance, if you wanted to browse
through the Tutorial again, you would now run "M-? t" instead of "C-h t".

Other common solutions you will find switch the bindings of the delete and
backspace keys.  I find the above to be far more useful, however, provided
that you remember the new help-command binding.

> Adam

Hope this helps,

-- 
Michael Toren      work: mct@netaxs.com       Compilers optimize
Net Access NOC     play: mct@netisland.net    better in the dark