Use crux-kill-line-backwards

This commit is contained in:
Bozhidar Batsov 2020-09-23 10:14:19 +03:00
parent 849efa5891
commit f32660b8c2

View file

@ -78,10 +78,7 @@
(global-set-key (kbd "M-Z") 'zop-to-char) (global-set-key (kbd "M-Z") 'zop-to-char)
;; kill lines backward ;; kill lines backward
(global-set-key (kbd "C-<backspace>") (lambda () (global-set-key (kbd "C-<backspace>") 'crux-kill-line-backwards)
(interactive)
(kill-line 0)
(indent-according-to-mode)))
(global-set-key [remap kill-whole-line] 'crux-kill-whole-line) (global-set-key [remap kill-whole-line] 'crux-kill-whole-line)