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

add shortcut to copy current file/folder path #60

Open
metasong opened this issue Sep 6, 2022 · 2 comments
Open

add shortcut to copy current file/folder path #60

metasong opened this issue Sep 6, 2022 · 2 comments

Comments

@metasong
Copy link

metasong commented Sep 6, 2022

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

@mgunyho
Copy link
Owner

mgunyho commented Sep 7, 2022

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?

@metasong
Copy link
Author

metasong commented Sep 7, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants