Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add highlight on yank #57

Open
stevanmilic opened this issue Jun 20, 2022 · 3 comments
Open

Add highlight on yank #57

stevanmilic opened this issue Jun 20, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@stevanmilic
Copy link

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.

@stevanmilic stevanmilic added the enhancement New feature or request label Jun 20, 2022
stevanmilic added a commit to stevanmilic/gitlinker.nvim that referenced this issue Jul 9, 2022
@stevanmilic
Copy link
Author

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

stevanmilic added a commit to stevanmilic/gitlinker.nvim that referenced this issue Jul 10, 2022
stevanmilic added a commit to stevanmilic/gitlinker.nvim that referenced this issue Jul 11, 2022
@linrongbin16
Copy link

hi @stevanmilic, let's track this feature here: https://github.com/linrongbin16/gitlinker.nvim

@stevanmilic
Copy link
Author

sure, I'll port the PR over there

stevanmilic pushed a commit to stevanmilic/gitlinker.nvim that referenced this issue Nov 12, 2023
* fix: visual lines

* fix: visual lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants