Make backward kill line respect indentation

This commit is contained in:
Bozhidar Batsov 2013-04-09 14:43:48 +03:00
parent 1bf7a3f8a8
commit 29f5157bf3

View file

@ -77,7 +77,8 @@
;; kill lines backward ;; kill lines backward
(global-set-key (kbd "C-<backspace>") (lambda () (global-set-key (kbd "C-<backspace>") (lambda ()
(interactive) (interactive)
(kill-line 0))) (kill-line 0)
(indent-according-to-mode)))
;; 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")