Add a keybinding for backward line killing
This commit is contained in:
parent
00b16e5ce7
commit
1bf7a3f8a8
1 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,11 @@
|
||||||
(autoload 'zap-up-to-char "misc" "Kill up to, but not including ARGth occurrence of CHAR.")
|
(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)
|
(global-set-key (kbd "M-Z") 'zap-up-to-char)
|
||||||
|
|
||||||
|
;; kill lines backward
|
||||||
|
(global-set-key (kbd "C-<backspace>") (lambda ()
|
||||||
|
(interactive)
|
||||||
|
(kill-line 0)))
|
||||||
|
|
||||||
;; 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")
|
||||||
(lambda () (interactive)
|
(lambda () (interactive)
|
||||||
|
|
Loading…
Reference in a new issue