From fa45eba962c309aa8cec49e434ed5d521a6bd09e Mon Sep 17 00:00:00 2001 From: Sergey Avseyev Date: Sat, 14 Jun 2014 20:37:27 +0300 Subject: [PATCH] Apply prelude codestyle --- modules/prelude-evil.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 ()