How can I redefine evil normal state Y to be equivalent to y$ instead of yy?

1 Answer 1


You can customize the variable evil-want-Y-yank-to-eol to a non-nil value to get this behavior.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.