From 29f5157bf363fba45427915e0f43d252ec07eecd Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Tue, 9 Apr 2013 14:43:48 +0300 Subject: [PATCH] Make backward kill line respect indentation --- core/prelude-global-keybindings.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/prelude-global-keybindings.el b/core/prelude-global-keybindings.el index b535f8c..88d7390 100644 --- a/core/prelude-global-keybindings.el +++ b/core/prelude-global-keybindings.el @@ -77,7 +77,8 @@ ;; kill lines backward (global-set-key (kbd "C-") (lambda () (interactive) - (kill-line 0))) + (kill-line 0) + (indent-according-to-mode))) ;; Activate occur easily inside isearch (define-key isearch-mode-map (kbd "C-o")