autocutsel icon indicating copy to clipboard operation
autocutsel copied to clipboard

ctrl+v inside a terminal, in ssh does not paste anything

Open krzkrzkrz opened this issue 4 years ago • 2 comments

At ~/xinitrc, I have:

autocutsel -fork &
autocutsel -selection PRIMARY -fork &

Which allows me to copy and paste (ctrl+v) everwhere, without any issues.

However, when I open terminal (kitty, or even alacritty) and inside ssh. Nothing is pasted when doing ctrl+v.

But shift+ins works. How I can get ctrl+v working in ssh, inside a terminal?

krzkrzkrz avatar Jan 12 '21 19:01 krzkrzkrz

According to https://wiki.archlinux.org/index.php/Alacritty#Vi_mode_and_Copy/Paste , alacritty uses Ctrl+Shift+v for paste.

zaza42 avatar Mar 03 '21 19:03 zaza42

Ctrl-V historically has a different meaning in commandline shells than in GUIs and hence also in nearly all terminal emulators: It means "Enter the next character literally. That way you can e.g. enter a Ctrl-C control character literally by pressing Ctrl-V and then Ctrl-C without aborting the current program or line of input.

So yes, this is on purpose and has nothing to do with autocutsel.

xtaran avatar Aug 29 '21 01:08 xtaran