comparison .emacs @ 14:34fd1e79495b

Fix for backspace being broken in some terminal emulators.
author Augie Fackler <durin42@gmail.com>
date Wed, 03 Dec 2008 10:56:22 -0600
parents d4d720c4c416
children b5d75594b356
comparison
equal deleted inserted replaced
13:c22ca1514f3b 14:34fd1e79495b
116 (global-set-key [(meta backspace)] 'kill-this-buffer) 116 (global-set-key [(meta backspace)] 'kill-this-buffer)
117 ; Save early and often, with only one keystroke 117 ; Save early and often, with only one keystroke
118 (global-set-key [(meta s)] 'save-buffer) 118 (global-set-key [(meta s)] 'save-buffer)
119 ; Typing tab is for lesser editors, make hitting return do that 119 ; Typing tab is for lesser editors, make hitting return do that
120 (global-set-key "\C-m" 'newline-and-indent) 120 (global-set-key "\C-m" 'newline-and-indent)
121 ; Sometimes C-h is what Backspace sends in a terminal, and I never use C-h
122 (global-set-key "\C-h" 'backward-delete-char-untabify)