2

I don't know if this is a local bash setting on my part, but when I cut a line within a terminal (or gnu screen) using Ctrl+k, the result isn't copied to GPaste. Instead, the copied text can only be pasted within that terminal. Is there a way to modify my .bashrc file to get the desired behavior of adding the cut text to the clipboard?

I found a solution for a Mac running zsh here, but I don't know how to implement it in bash.

mikemtnbikes
  • 226
  • 2
  • 8
  • ctrl-shift-c for copy and ctrl-shift-v for paste . though I am using konsole as terminal (and parcellite as clipboard manager) – pierrely Sep 25 '22 at 02:21
  • 1
    Thanks, butCtl-Shift-c requires highlighting of the text, which requires using the mouse, Ctrl-K cuts the text to the right of the cursor, which requires no use of the mouse. – mikemtnbikes Sep 26 '22 at 12:23

0 Answers0