gitlinker.nvim icon indicating copy to clipboard operation
gitlinker.nvim copied to clipboard

Add highlight on yank

Open stevanmilic opened this issue 2 years ago • 3 comments

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 avatar Jun 20 '22 09:06 stevanmilic

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

stevanmilic avatar Jul 09 '22 19:07 stevanmilic

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

linrongbin16 avatar Nov 12 '23 22:11 linrongbin16

sure, I'll port the PR over there

stevanmilic avatar Nov 12 '23 22:11 stevanmilic