diff options
author | Yigit Sever | 2020-05-21 20:22:39 +0300 |
---|---|---|
committer | Yigit Sever | 2020-05-21 20:22:39 +0300 |
commit | 6d4d16b25301e9feb51270fb2517c94e13f76ef2 (patch) | |
tree | ae5a9a09628fbe22387d633abfd9b92521e0b2a7 | |
parent | bed7092e6e35266cd4d40a2a0af46e6c2ca580f8 (diff) | |
download | dotfiles-6d4d16b25301e9feb51270fb2517c94e13f76ef2.tar.gz dotfiles-6d4d16b25301e9feb51270fb2517c94e13f76ef2.tar.bz2 dotfiles-6d4d16b25301e9feb51270fb2517c94e13f76ef2.zip |
fix Target STRING not available bug
-rwxr-xr-x | .config/nvim/init.vim | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index fd52dc2..fcf0c80 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -140,11 +140,25 @@ endfunction | |||
140 | 140 | ||
141 | "{{{Misc Settings | 141 | "{{{Misc Settings |
142 | 142 | ||
143 | " fix the Target STRING not available | ||
144 | let g:clipboard = { | ||
145 | \ 'name': 'xsel_override', | ||
146 | \ 'copy': { | ||
147 | \ '+': 'xsel --input --clipboard', | ||
148 | \ '*': 'xsel --input --primary', | ||
149 | \ }, | ||
150 | \ 'paste': { | ||
151 | \ '+': 'xsel --output --clipboard', | ||
152 | \ '*': 'xsel --output --primary', | ||
153 | \ }, | ||
154 | \ 'cache_enabled': 1, | ||
155 | \ } | ||
156 | |||
143 | " Use deoplete. | 157 | " Use deoplete. |
144 | let g:deoplete#enable_at_startup = 1 | 158 | let g:deoplete#enable_at_startup = 1 |
145 | 159 | ||
146 | " interact with system clipboard | 160 | " interact with system clipboard |
147 | set clipboard=unnamed,unnamedplus | 161 | set clipboard+=unnamedplus |
148 | 162 | ||
149 | " required for yoink/cutlass/subversive interaction | 163 | " required for yoink/cutlass/subversive interaction |
150 | let g:yoinkIncludeDeleteOperations = 1 | 164 | let g:yoinkIncludeDeleteOperations = 1 |