Skip to content
Discussion options

You must be logged in to vote

Doesn't the explorer use the system clipboard out of the box? You can also use "<reg>y if needed.

#### Copy/Paste with Registers
Alternative workflow using yank and paste:
1. **Select files** with `<Tab>` or visual mode
2. Press `y` to **yank** file paths to register
3. Navigate to target directory
4. Press `p` to **paste** (copies files from register)
This works across different explorer instances and even after closing/reopening!

vim.fn.setreg(vim.v.register or "+", value, "l")

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@tienlonghungson
Comment options

Answer selected by tienlonghungson
Comment options

You must be logged in to vote
2 replies
@drowning-cat
Comment options

@tienlonghungson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants