OSC52 clipboard yanks

This commit is contained in:
Christian Nieves
2023-02-13 12:31:47 -06:00
parent 189570685b
commit 84aa6e8933
7 changed files with 117 additions and 47 deletions

View File

@ -60,18 +60,18 @@ set splitbelow " Puts new split windows to the bottom of the current
set scrolljump=5 " Line to scroll when cursor leaves screen
set scrolloff=3 " Minumum lines to keep above and below cursor
let g:clipboard = #{
\ name: 'xsel',
\ copy: {
\ '+': ['xclip', '--nodetach', '-i', '-b'],
\ '*': ['xclip', '--nodetach', '-i', '-p'],
\ },
\ paste: {
\ '+': ['xclip', '-o', '-b'],
\ '*': ['xclip', '-o', '-p'],
\ },
\ cache_enabled: 1,
\ }
" let g:clipboard = #{
" \ name: 'xsel',
" \ copy: {
" \ '+': ['xclip', '--nodetach', '-i', '-b'],
" \ '*': ['xclip', '--nodetach', '-i', '-p'],
" \ },
" \ paste: {
" \ '+': ['xclip', '-o', '-b'],
" \ '*': ['xclip', '-o', '-p'],
" \ },
" \ cache_enabled: 1,
" \ }
set shortmess=A
set shortmess+=O
set modifiable