A
A
Artem Kiryanov2021-10-28 14:18:09
linux
Artem Kiryanov, 2021-10-28 14:18:09

How to copy from VIM?

I'm using VIM on Linux, but I can't get it to copy all lines to another program.
I need to open a file in VIM, select it, copy it, and paste it, for example, into LibreOffice with the standard function keys ctrl-v
In VIM, it turns out I need to configure Ctrl-A, Ctrl-C

If you share the setting of the key in .vimrc, I will be grateful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Kiryanov, 2021-10-28
@hacker342

Understood.
You need to install vim-gnome, in my case
sudo apt install vim-gtk3
After that, you need to configure keyboard shortcuts in vimrc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question