Commit 6b445b6

mo khan <mo@mokhan.ca>
2019-08-02 03:35:09
set cross platform value for clipboard
1 parent 4c43340
Changed files (1)
vimrc
@@ -32,7 +32,8 @@ set splitright        " open new splits to the right
 set splitbelow        " open new splits below
 set autoread          " auto load changed files
 set title             " the title of the window will be set to the value of titlestring
-set clipboard=unnamed " use OS clipboard
+" if-shell "uname | grep -q Darwin" "set clipboard=unnamed" "set clipboard=unnamedplus"
+set clipboard^=unnamed,unnamedplus " use OS clipboard
 set noswapfile
 set autowrite
 set tags=./.git/tags,./tmp/tags,./tags,tags,._tags