commit 66e54537eed5fbfac711d0c0890bc71e523c39ef
parent b4f0b6902c32368b3cd3b73edc3e1f5a5c1373b3
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 2 Sep 2018 20:22:16 +0200
Set a vim clipboard so it integrates with system clipboard
Yes I can just use "*yy or "+yy in vim but I didn't know about it before
and this works in modern version of vim so everything's fine.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/dotfiles/vim-config/editor.vimrc b/dotfiles/vim-config/editor.vimrc
@@ -1,3 +1,6 @@
+" Allow integration with system clipboard (only newest vim)
+set clipboard+=unnamed
+
" Highlight current line
set cursorline