-
Notifications
You must be signed in to change notification settings - Fork 389
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
Copy filename etc. not working + two possible feature requests. #70
Comments
Hi, thanks for your appreciation!
The copy file path feature is included in the feature requests, and has not been implemented yet, I will implement it now!
Good idea, I will implement it together!
I'll add it to feature requests and implement it sometime later, PRs are welcome of course! |
Thank you! I compiled with the merge. Unfortunately it still did not work. I was using the default config to make sure that there is no error in mine. Edit: Oh, you are working on the second part of the request, maybe I was just too impatient. |
Yep, the first two features are merged, you can try it now! The last feature has been included in the feature requests, can I close this issue in favor of that? |
Merged and tested. Second one works. Copying filename, path etc. still doesn't. |
What is your desktop environment and what clipboard command do you use? |
Hyprland (Wayland) with wl-clipboard (wl-copy and wl-paste). Watched by cliphist. |
Weird, I don't have a Wayland environment now. Can you use #74 and execute the copy path operator, then do a |
Sure, here you go:
Looks like wl-copy is not detected or not tried. Pbcopy is OSX, right? |
Thanks, I pushed the new code on that PR, please try it again |
With that yazi freezes when invoking the filename copy. |
Please try one last time. I bet it will work now! 🤣 |
You have won this bet :D Thank you for the effort! Another idea occurred to me while using it. The "display_name" feature from yazi.toml would also be interesting for the keymap, because the possibility to use own templates with the shell also produces very long lines in the help overview at times. With "display_name" you could "clean up" there. Thank you again for the great work. |
Thank you so much for testing! I will close this issue in favor of the feature requests, any ideas feel free to file a new issue! |
Hi, apologies for reviving a closed issue and thank you again for this great project. I'm encountering the same problem on macOS, where the copy command does not work with the system clipboard. I don't get an error, but the clipboard contents are not replaced. |
@maxzinkus Are you using the latest version from Git? it works on my macOS 🤔 |
Ah! I'm not, I was on the homebrew version. I'll try HEAD but I assume it'll fix it :) |
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Thank you first for this great project. Yazi already includes many features out of the box, which fit my workflow.
One of them, copying filename, path etc. however does not work in my Hyprland system so far. I suspect that wl-copy is not recognized or called.
Furthermore it seems to be currently not possible to pass selected file(s) path(s) to the shell in a command? Analogous to the method in yazi.toml, this would greatly extend the flexibility of the inbuild shell.
Use case is e.g. adding files in Chezmoi by key command. Currently I "abuse" the interactiv opener for this.
Also, it would be nice to be able to assign mouse actions in keymap.toml as well. Even though a terminal program is primarily designed for keyboards, it would be nice to be able to use extra mouse keys as well. Also I could customize the scroll function. Currently I always skip three lines per scroll, which limits the usage a bit.
The text was updated successfully, but these errors were encountered: