Suggestion: action for "write_scrollback_file" that just copies the scrollback file path to system clipboard #5005
Unanswered
mpobrien
asked this question in
Ideas and Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently,
write_scrollback_file
supports two actions::paste
- the path to the scrollback file is printed inline into the active terminal:open
- the scrollback file is opened in the OS editor.However, a common use case which isn't conveniently covered by these:
While working on a remote host over ssh, I want to dump the scrollback to a file and then
grep
it for some pattern. Using the:paste
action is not convenient, since I'm on a remote host where the pasted path is meaningless because it's on the local filesystem. The workaround is to paste it anyway then manually select the pasted text and copy it again, then paste it into some other window. It's a bit clunky to require this additional manual select/copy step.A proposal that I think would cover this nicely: add a
:copy
action which writes out the scrollback file, and then just populates its path into the system clipboard. Then the user easily gets control over pasting it where it actually makes sense.Beta Was this translation helpful? Give feedback.
All reactions