diff --git a/modules/prelude-evil.el b/modules/prelude-evil.el index 652a560..7b20233 100644 --- a/modules/prelude-evil.el +++ b/modules/prelude-evil.el @@ -62,11 +62,13 @@ (evil-ex-define-cmd "linum" 'linum-mode) (evil-ex-define-cmd "Align" 'align-regexp) -(defun yank-to-end-of-line () +(defun prelude-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) + +(define-key evil-normal-state-map + (kbd "Y") 'prelude-yank-to-end-of-line) ;; Scrolling (defun prelude-evil-scroll-down-other-window ()