yanky.nvim
yanky.nvim copied to clipboard
Yank with metadata?
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?
The metadata which could be useful:
- filetype
- filesystem path
- line number
- git info:
- git dir
- branch
- sha
Other plugins (such as Neorg) could then use this information on put to add respective metadata or generate proper codeblocks.
Interesting I'll try to do something