diff --git a/modules/prelude-evil.el b/modules/prelude-evil.el index 803daf7..652a560 100644 --- a/modules/prelude-evil.el +++ b/modules/prelude-evil.el @@ -62,6 +62,11 @@ (evil-ex-define-cmd "linum" 'linum-mode) (evil-ex-define-cmd "Align" 'align-regexp) +(defun yank-to-end-of-line () + "Yank to end of line." + (interactive) + (evil-yank (point) (point-at-eol))) +(define-key evil-normal-state-map "Y" 'yank-to-end-of-line) ;; Scrolling (defun prelude-evil-scroll-down-other-window ()