gbprod / yanky.nvim

Improved Yank and Put functionalities for Neovim
Do What The F*ck You Want To Public License
935 stars 23 forks source link

Yank with metadata? #173

Open dev-zero opened 7 months ago

dev-zero commented 7 months ago

I am currently in the need of copy&pasting things together from multiple files and would require for each paste the original file name and repository (something which in my setup would be available from LazyVim.lualine.root_dir() and LazyVim.lualine.pretty_path()).

How/where could yanky.nvim be extended to permit storing additional metadata?

dev-zero commented 7 months ago

The metadata which could be useful:

dev-zero commented 7 months ago

Other plugins (such as Neorg) could then use this information on put to add respective metadata or generate proper codeblocks.

gbprod commented 7 months ago

Interesting I'll try to do something