Hacker News new | ask | show | jobs
by lesserknowndan 1235 days ago
Here’s one weird trick that will break the Internet.

In macOS, if you highlight text, you can then paste it using Shift + Command + “v”.

Kind of like X Windows middle button.

2 comments

Is this copy/paste with highlight available globally or limited only to terminals?

I can do this with text highlighted in iterm. Highlighted text can be copied in other apps as well with Shift + Command + “v”. Or with terminal app, where the shortcut only works when used within terminal app itself.

Hmmm, seems like it is just within Terminal. It just so happens that is where I mostly use that functionality.

In other situations, often Command + Shift + ‘v’ is paste without formatting (which I wish was the default!).

Thank you for the insight! I'll try this!