Score:0

clipboard problem in terminal text editors

ua flag

I am on Ubuntu 22.10, when I copy text from anywhere, there is no problem with pasting it on a regular other app. But I get errors when I try to paste the text into terminal text editors.

For example in Nano I get the error [ Cutbuffer is empty ]

and in VIM : error E353: Nothing in register *

I've tried this for vim in .vimrc :

set clipboard=unnamed

and didn't work!

NOTE: when first open vim, running the above command in vim command bar causes the error to not be displayed, but the clipboard is empty and nothing pasted!

Esther avatar
es flag
those editors use their own clipboards, not the system ones. see https://askubuntu.com/questions/256782/how-to-copy-paste-contents-in-the-vi-editor
Artur Meinild avatar
vn flag
You should update Ubuntu to a supported version (22.04 or later).
Pooya Behravesh avatar
ua flag
Thanks @esther i got it.
Pooya Behravesh avatar
ua flag
@autur i have wrong mentioned, i am on 22.10 version.
Score:0
ua flag

According to the @esther's guide, those editors use their own clipboards, not the system ones. More details on this link

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.