Make backward kill line respect indentation
This commit is contained in:
parent
1bf7a3f8a8
commit
29f5157bf3
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue