Skip to content

Add highlight on yank #57

@stevanmilic

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.

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