0

I have selected some text and I want to use shift+insert like I do to paste the currently selected text on Linux. How can I do that on a MacBook?

  • Did you mean "copied", or "selected"? On Linux I'd use Shift-Insert to paste text I'd selected, but Ctrl-V to paste text I'd copied. I don't know if the former is possible on macOS - I'm hoping someone will prove me wrong! – John N Feb 20 '17 at 8:19
  • 1
    @JohnN, selected, sorry – GoingMyWay Feb 20 '17 at 8:29
2

I found the answer on Stack Overflow: it's ShiftCommandV to paste selected text, without copying the text first. This might be all you need (I'm delighted it's even possible - I assumed it wasn't); however, you could if you wished remap this key combination to something more like ShiftInsert using one of the apps suggested in the answers to Re-map keys on keyboard.

  • I'm struggling to see how that works. If I have some text selected & want to paste it somewhere, I first have to move the cursor to where I want to paste, which unselects... :/ – Tetsujin Feb 20 '17 at 8:55
  • 1
    @Tetsujin - it's most useful in a terminal: the cursor position won't change when you select text. Try selecting a command a few lines back, then press Shift-Command-V, or doing the same in vi/emacs/nano. – John N Feb 20 '17 at 8:57
  • Cool, it is right on the mac bash command line and vim. – GoingMyWay Feb 20 '17 at 8:57
  • ah, gotcha. I guess it's unlikely to work anywhere that isn't true, couldn't work in any regular text app. – Tetsujin Feb 20 '17 at 8:58
  • @Tetsujin, yeah, that's true, this shortcut is widely used among programmers! And the Macbook is really a arsenal! – GoingMyWay Feb 20 '17 at 9:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .