From 178e89e75571082a255a9558bfc0d4683a01da8d Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 15 Apr 2022 22:14:44 -0400 Subject: [PATCH] Only use unnamedplus with neovim (rather than using it in conjunction with unnamed) --- vim/config/settings.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vim/config/settings.vim b/vim/config/settings.vim index 8081b04..1274606 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -27,7 +27,11 @@ set clipboard=unnamed if has('unnamedplus') - set clipboard+=unnamedplus + if has('nvim') + set clipboard=unnamedplus + else + set clipboard+=unnamedplus + endif endif "fancy mouse reporting with xterm2 fallback