vim-config icon indicating copy to clipboard operation
vim-config copied to clipboard

copy paste block of code

Open dzirg44 opened this issue 5 years ago • 3 comments

hello guys! Thank you for your work! I have maybe a stupid question about copying and pasting. I have tried to do this as usual (select code with V, and yy) but it doesn't work . Could somebody help me?

dzirg44 avatar Nov 06 '19 16:11 dzirg44

Hi @dzirg44 - what operating system are you using? nvim or vim? what version? Have all the plugins been installed correctly?

Trying running: :call dein#update() If it's successful (hit :message to see), run: :call dein#recache_runtimepath() Restart n/vim and try again.

rafi avatar Nov 06 '19 17:11 rafi

OS

ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G103

vim

VIM - Vi IMproved 8.1 (2018 May 18, compiled Nov  6 2019 08:27:54)
macOS version
Included patches: 1-2250
Compiled by Homebrew

:call dein#update() - completed without any errors.

1

I can copy 2 lines ( with pushing y once and arrows ) but for 3 and more it doesn't work, because selected area disappears. I use p for pasting , if it's important.

dzirg44 avatar Nov 07 '19 08:11 dzirg44

@dzirg44 can you try replacing the clipboard setting in config/general.vim with this and try again?

	set clipboard& clipboard^=unnamed,unnamedplus

rafi avatar Jul 25 '20 06:07 rafi