Skip to content

Add highlight on yank #57

Open
Open

Description

@stevanmilic

Is your feature request related to a problem? Please describe.
I would like to have a visual feedback (rather than a print message) when yanking a line/visual.

Describe the solution you'd like
Is it possible to implement a highlight of line on yank, similar to neovim built-in feature:

au TextYankPost * silent! lua vim.highlight.on_yank {timeout=500}

Describe alternatives you've considered
Print does the job, but if you used e.g. with cmdheight=0 you have a prompt to acknowledge the message.

Activity

  1. stevanmilic commented on Jul 9, 2022

    @stevanmilic
    Author

    @ruifm I've made a PR for this feature, I hope you find the time to review it 😄

  2. linrongbin16 commented on Nov 12, 2023

    @linrongbin16
  3. stevanmilic commented on Nov 12, 2023

    @stevanmilic
    Author

    sure, I'll port the PR over there

  4. added a commit that references this issue on Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions