Add paste selection hot-key #25830
Replies: 1 comment
-
There's a very similar feature on linux called primary selection that has been implemented in zed for a while #10534. I thought about it recently and it would be really nice if terminals had a protocol similar to OSC 8 hyperlinks that instead of opening a uri would replace the current commandline, then git would link the command in this case and you could just Ctrl+Click+Enter it, and with git everywhere a commit hash or branch appears it could be linked to |
Beta Was this translation helpful? Give feedback.
-
iTerm has a special paste feature called paste-selection that copies highlighted text. This is really useful when copying commands into the terminal.
For example, I often create new branches in git and then attempt to push them without creating an upstream tracking branch. When this happens, git outputs a message like the following:
Using iTerm, I can highlight the
git push ...
command, hit cmd-shift-v and it will paste the command for me (without having to do cmd-c, cmd-v). It's a small time saver that would be lovely to include in Zed.Beta Was this translation helpful? Give feedback.
All reactions