diff options
author | rekado <rekado@elephly.net> | 2016-07-12 20:58:59 +0200 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2016-07-12 20:58:59 +0200 |
commit | e29a256786bfff56b50313dd84c6d76acbf1b557 (patch) | |
tree | ddb852d234271036fde1da3f4a41dfbb9873ef0b /lisp | |
parent | cfa9c2b7a5de398a9f7417ae89d5f3b7fcbe2f99 (diff) |
Replace hungry-delete with cycle-spacing.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-my-stuff.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/init-my-stuff.el b/lisp/init-my-stuff.el index b7bf92a..c15abe7 100644 --- a/lisp/init-my-stuff.el +++ b/lisp/init-my-stuff.el @@ -34,7 +34,9 @@ (kill-buffer (current-buffer)))) ;; delete up to non-whitespace character -(global-set-key (kbd "C-c d") 'hungry-delete-forward) +(global-set-key (kbd "C-c d") (lambda () + (interactive) + (cycle-spacing -1 t nil))) (defun ssh-dtach (host) "Open SSH connection to HOST and start dtach session." |