Permalink
Browse files

backward kill line

  • Loading branch information...
1 parent 6039234 commit c8227bd0a5ab66d7f29a440fd122403884eb7842 @defunkt defunkt committed Nov 27, 2009
Showing with 5 additions and 0 deletions.
  1. +1 −0 defunkt/bindings.el
  2. +4 −0 defunkt/defuns.el
View
@@ -25,6 +25,7 @@
;; (global-set-key [M-down] 'defunkt-dec-num-at-point)
(global-set-key (kbd "C-*") 'isearch-forward-at-point)
(global-set-key [remap kill-word] 'defunkt-kill-word)
+(global-set-key (kbd "C-S-k") 'defunkt-backward-kill-line)
(global-set-key [remap backward-kill-word] 'defunkt-backward-kill-word)
(global-set-key [remap aquamacs-backward-kill-word] 'defunkt-backward-kill-word)
View
@@ -84,6 +84,10 @@
(when (file-exists-p (concat defunkt ".el"))
(load defunkt))))
+(defun defunkt-backward-kill-line ()
+ (interactive)
+ (kill-line 0))
+
(require 'thingatpt)
(defun defunkt-change-num-at-point (fn)
(let* ((num (string-to-number (thing-at-point 'word)))

0 comments on commit c8227bd

Please sign in to comment.