System Clipboard Integration #3161
rauf322
started this conversation in
Show and tell
Replies: 1 comment
-
That sounds like a great idea! See #1549 for similar discussion on copying a set of paths to clipboard, for copy/paste between nvim instances. See similar example. Is copying the paths the objective here? Do we want to copy the contents of the file? |
Beta Was this translation helpful? Give feedback.
0 replies
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