Add a keybinding for backward line killing

This commit is contained in:
Bozhidar Batsov 2013-04-08 18:50:05 +03:00
parent 00b16e5ce7
commit 1bf7a3f8a8

View file

@ -74,6 +74,11 @@
(autoload 'zap-up-to-char "misc" "Kill up to, but not including ARGth occurrence of CHAR.") (autoload 'zap-up-to-char "misc" "Kill up to, but not including ARGth occurrence of CHAR.")
(global-set-key (kbd "M-Z") 'zap-up-to-char) (global-set-key (kbd "M-Z") 'zap-up-to-char)
;; kill lines backward
(global-set-key (kbd "C-<backspace>") (lambda ()
(interactive)
(kill-line 0)))
;; Activate occur easily inside isearch ;; Activate occur easily inside isearch
(define-key isearch-mode-map (kbd "C-o") (define-key isearch-mode-map (kbd "C-o")
(lambda () (interactive) (lambda () (interactive)