commit 9cfd69540e9302ad8d397a07ef599c778e191e88
parent ff87d11d5539608a18f3844eadb5e46aaaba8e18
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 20 Oct 2018 12:34:40 +0200
Only modify vim clipboard if it's possible
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vim/general.vimrc b/vim/general.vimrc
@@ -36,7 +36,9 @@ set showcmd
set wildmenu
" Allow integration with system clipboard (only newest vim)
-set clipboard+=unnamed
+if has("clipboard")
+ set clipboard+=unnamed
+endif
" Colorscheme
colorscheme default