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

Yank with metadata? #173

Open
dev-zero opened this issue Apr 22, 2024 · 3 comments
Open

Yank with metadata? #173

dev-zero opened this issue Apr 22, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@dev-zero
Copy link

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
Copy link
Author

The metadata which could be useful:

  • filetype
  • filesystem path
  • line number
  • git info:
    • git dir
    • branch
    • sha

@dev-zero
Copy link
Author

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

@gbprod
Copy link
Owner

gbprod commented May 3, 2024

Interesting I'll try to do something

@gbprod gbprod added the enhancement New feature or request label May 21, 2024
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

2 participants