Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Then you can select other text to paste over.


sort by: page size:

Or copy/paste text.

You can copy and paste text by selecting it and pressing CTRL+C to copy it and then CTRL+V to paste it. It's my favorite.

You know, you can skip the backspace; pasting something with a selection will replace the selected text with whatever's on the pasteboard (at least on all the systems I've had experience with).

I like this. That would let you copy/paste more intuitively.

As a user I sometimes need to select a part of the text and copy to my clipboard

You could also use `xclip -selection clipboard` if you wanted it to end up in your clipboard (so you can use ctrl-v to paste) instead of in your primary selection (the one where highlighting text copies and middle click pastes).

That is why it has the "Paste as plain text" option.

Or just copy it to the clipboard and paste.

You can just select and copy, and then paste. The whole expression is editable as a line of text.

Sure, I understand. You can also do that by reversing the order of the two operations (paste into the document, then select and delete the unnecessary text), or you can use both selections (select the text to be copied while holding down alt, then select the text to replace while not holding alt, and middle click from the secondary selection by holding alt).

But that’s not really the point; the point is that it’s nice to have both mechanisms available. Some people will find selections more convenient, others won’t.


Then turn on "Extended text selection keys" and you can use shift with arrows to select and ctl-c to copy.

If configured, sure, and if you use the mouse for all text selection. And also if configured, middle-click can paste.

Now how about Cut (Cmd+X vs Ctrl+Shift+X)?


> Just double click in the field to have all the text selected, then paste.

This won't work when using the primary selection (ie. middle-click paste) in X. Selecting the text wipes out the previous selection.


If you use Quicksilver on Mac, you can virtually type the text to get around the paste limitation. [text input] -> [Type Text]

And copy. And right click. And text selection.

Middle click paste to the rescue. Just have to combat sites that prevent text selection.

I highlight the text and middle mouse button for paste.

Thanks for saying that!

As for text selection, the best I have so far is

right click to open context menu

select "Copy text from here"

And you should get a box pop up with text you can select. :)


Sometimes using Shift+Insert instead of Ctrl+V can allow you to paste into these fields.
next

Legal | privacy