diff options
| -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 |
