prelude-evil: add 'nmap Y y$' equivalent
This commit is contained in:
parent
bfeb85f16d
commit
1b7a80d8b7
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@
|
||||||
(evil-ex-define-cmd "linum" 'linum-mode)
|
(evil-ex-define-cmd "linum" 'linum-mode)
|
||||||
(evil-ex-define-cmd "Align" 'align-regexp)
|
(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
|
;; Scrolling
|
||||||
(defun prelude-evil-scroll-down-other-window ()
|
(defun prelude-evil-scroll-down-other-window ()
|
||||||
|
|
Loading…
Reference in a new issue