From 6d4d16b25301e9feb51270fb2517c94e13f76ef2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 21 May 2020 20:22:39 +0300 Subject: fix Target STRING not available bug --- .config/nvim/init.vim | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index fd52dc2..fcf0c80 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -140,11 +140,25 @@ endfunction "{{{Misc Settings +" fix the Target STRING not available +let g:clipboard = { + \ 'name': 'xsel_override', + \ 'copy': { + \ '+': 'xsel --input --clipboard', + \ '*': 'xsel --input --primary', + \ }, + \ 'paste': { + \ '+': 'xsel --output --clipboard', + \ '*': 'xsel --output --primary', + \ }, + \ 'cache_enabled': 1, + \ } + " Use deoplete. let g:deoplete#enable_at_startup = 1 " interact with system clipboard -set clipboard=unnamed,unnamedplus +set clipboard+=unnamedplus " required for yoink/cutlass/subversive interaction let g:yoinkIncludeDeleteOperations = 1 -- cgit v1.2.3-70-g09d2