-
Notifications
You must be signed in to change notification settings - Fork 337
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
Prompt text should be selectable, copy-able with rest of block, and shareable #36
Comments
@zheng I wonder if there's a use case for sharing X number of block commands before and or after as well. To contextualize what someone did either before or after. X number of block outputs might be too much, but X number of block commands might be helpful (maybe in combination with the associated working directories). this idea def needs some more workshopping maybe worth bringing up in the discord X months from now |
From francois via Discord Hello, I have a feature request, I would find very handy if double-clicking on the git branch would actually copy the branch name in my clipboard. I know I can right-click and click "copy git branch" but it slows down my productivity, mainly because of the 3 possibilities "copy prompt / copy working directory / copy git branch" that I always need to re-read |
Related to copying prompt text, it's currently possible to copy the prompt text via mouse using the context menu. We should likely make this keyboard-friendly as well with a keyboard shortcut (similar to the keyboard shortcuts we have for other context menu options). This would be orthogonal to supporting selectable text in the prompt! |
@dev4joel +1 on the "double-clicking the purple thing could copy the workding directory in the clipboard". I didnt know about the right clicking to copy branch or CWD which is cool but the double clicking is better. I say for single clicking it should also drop down the double click prompt because you cant even highlight this area at all, but it provides tons of value to copy the branch or CWD. |
I frequently need to copy part of the git branch (not the whole branch name) as we have kubernetes namespace as a part of the branch. Currently there is no option to do so. Basically one may have lot's of copyable info in the prompt. It would be useful to be able to copy it. |
@yukas As a possible workaround, you can select the prompt from a previously run block if you're using a custom prompt(like starship.rs), so hopefully, you can use that to select the partial branch name instead of right-clicking "copy git branch" on the default prompt and then editing it manually in the input editor. |
Is your feature request related to a problem? Please describe.
Keep the context of the current working directory + other info while sharing & copying.
Describe the solution you'd like
Additional context
Requested by @bznana from Discord.
The text was updated successfully, but these errors were encountered: