this post was submitted on 26 Oct 2024
630 points (97.2% liked)

Programmer Humor

32338 readers
833 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] electricprism@lemmy.ml 6 points 4 days ago (3 children)

does this suggest that copy/paste from the terminal is broken by design and we need find a better way?

[–] nickwitha_k@lemmy.sdf.org 6 points 4 days ago

I like your thinking. Give me Firefox with a TUI and POSIX shell i/o redirection support.

[–] fl42v@lemmy.ml 4 points 4 days ago (1 children)

Vim has a better way, it's called :set clipboard=unnamedplus (alternatively, one can bind anything else to copy/paste to/from system cliboards). Not sure why would one use a mouse for this, honestly

[–] smiletolerantly@awful.systems 2 points 4 days ago

I think if you want to copy a specific selection to a mouse-based, different program then it makes sense to use the mouse for precision selection.

[–] Midnitte@beehaw.org 2 points 4 days ago (1 children)

Might I suggest a common set of keybinds... maybe C for copy, and v for vaste... maybe use ctrl as well?

[–] nickwitha_k@lemmy.sdf.org 6 points 4 days ago

Ctrl is already used my a large number of commands in POSIX shells. This is one of the places that I really like Apple's solution (despite really not liking most of what they do). Super/GUI/Command + c/v is a great improvement in the terminal.