Reinstate `C-M-<delete>'
* lisp/bindings.el (global-map): Reinstate `C-M-<delete>' and `C-M-<backspace>' (bug#29430). These used to kill X, but that hasn't been the case in any common GNU/Linux distributions for decades.
This commit is contained in:
parent
e5e5d85369
commit
36810a8164
1 changed files with 2 additions and 4 deletions
|
@ -1402,10 +1402,8 @@ if `inhibit-field-text-motion' is non-nil."
|
|||
(define-key esc-map [?\C-\ ] 'mark-sexp)
|
||||
(define-key esc-map "\C-d" 'down-list)
|
||||
(define-key esc-map "\C-k" 'kill-sexp)
|
||||
;;; These are dangerous in various situations,
|
||||
;;; so let's not encourage anyone to use them.
|
||||
;;;(define-key global-map [C-M-delete] 'backward-kill-sexp)
|
||||
;;;(define-key global-map [C-M-backspace] 'backward-kill-sexp)
|
||||
(define-key global-map [C-M-delete] 'backward-kill-sexp)
|
||||
(define-key global-map [C-M-backspace] 'backward-kill-sexp)
|
||||
(define-key esc-map [C-delete] 'backward-kill-sexp)
|
||||
(define-key esc-map [C-backspace] 'backward-kill-sexp)
|
||||
(define-key esc-map "\C-n" 'forward-list)
|
||||
|
|
Loading…
Add table
Reference in a new issue