Skip to content

Instantly share code, notes, and snippets.

@whiskers75
Created October 30, 2013 07:49
Show Gist options
  • Save whiskers75/7228655 to your computer and use it in GitHub Desktop.
Save whiskers75/7228655 to your computer and use it in GitHub Desktop.
How to make Emacs work with backspaces
(defun proper-backspace (&optional arg)
"Backspace nicely WITHOUT using the kill ring."
(interactive "p")
(backward-char)
(delete-char 1))
(global-set-key [backspace] 'proper-backspace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment