System Clipboard Integration #3161
rauf322
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Currently, nvim-tree doesn't have a built-in way to copy files or folders to the system clipboard for easy pasting in file managers (Finder, Explorer, etc.).
Proposed Solution
Add a built-in keymap (e.g.,
<C-c>
oryy
) that copies the selected file/folder to the system clipboard.Implementation Details
osascript -e "set the clipboard to POSIX file \"<path>\""
xclip
or similarExample for MacOS
Beta Was this translation helpful? Give feedback.
All reactions