tere icon indicating copy to clipboard operation
tere copied to clipboard

add shortcut to copy current file/folder path

Open metasong opened this issue 3 years ago • 2 comments

convenient to do further operation for the current located file/folder

metasong avatar Sep 06 '22 22:09 metasong

Thanks for the suggestion, this is a decent idea. Although I fear that this might be hard to implement consistently, for example broot has varying clipboard support depending on the platform. But I haven't looked into any crates for doing this, so I don't know why it's like that. Pull requests are definitely welcome!

What default shortcut do you think would be best? The first that came to my mind is alt-C (and vim-style alt-Y) to copy the folder under the cursor, and alt-shift-C (and alt-shift-Y) to copy the folder you are currently in. What do you think?

mgunyho avatar Sep 07 '22 06:09 mgunyho

it will be nice to be able to copy file path too. copy current folder may be redundant, or not nessesary

metasong avatar Sep 07 '22 14:09 metasong