summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 3dbf3a8..ec8abe8 100644
--- a/.vimrc
+++ b/.vimrc
@@ -76,6 +76,9 @@ let &colorcolumn="80,".join(range(121,125),",") " Highlight the 80, 121-> column
set encoding=utf-8 " set the encoding to utf-8
set t_Co=256 " set terminal color 265
set clipboard=unnamedplus,unnamed " fix not copying between clipboard and vim
+if !empty($WAYLAND_DISPLAY) && executable('wl-copy')
+ autocmd TextYankPost * silent! call system('wl-copy', @")
+endif
set backspace=indent,eol,start " fix backspace not deleteing existing text
set number " set numbers column on the left
set complete-=i " Faster vim completion