From 1bf7a3f8a84fbffef73f47c580af0caadd7067e0 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Mon, 8 Apr 2013 18:50:05 +0300 Subject: [PATCH] Add a keybinding for backward line killing --- core/prelude-global-keybindings.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/prelude-global-keybindings.el b/core/prelude-global-keybindings.el index 1ccf139..b535f8c 100644 --- a/core/prelude-global-keybindings.el +++ b/core/prelude-global-keybindings.el @@ -74,6 +74,11 @@ (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) +;; kill lines backward +(global-set-key (kbd "C-") (lambda () + (interactive) + (kill-line 0))) + ;; Activate occur easily inside isearch (define-key isearch-mode-map (kbd "C-o") (lambda () (interactive)