Select previous command output without shell integration #6113
Unanswered
tambourine-man
asked this question in
Q&A
Replies: 1 comment
-
You might achieve what you want with some Lua config using: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What Operating System(s) are you running on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240203-110809-5046fc22
Ask your question!
I'm loving WezTerm and considering switching to it.
On the Mac's Terminal.app, if “Automatically Mark Prompt Lines” is selected, I can hit
CMD-SHIFT-A
(“Select Between Marks”) and copy the previous command output. I understand that I can do the same with WezTerm by using shell integration, but I don't want to install it in every server I SSH into.Most of the time the output of
pwd
orrealpath
is what I'm interested in, so simply selecting the previous line would work fine as well.Quick Select almost fits the bill, except selecting the last line is not always done by hitting the same letter and I'm a creature of habit :)
In summary, if I could assign a key combo that would select the previous line and copy it I would be set.
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions