Updated vim plugin

This commit is contained in:
Andrius Kairiukstis 2020-12-11 14:53:26 +01:00
parent 5ebdc3a7c1
commit 1f89051b18
2 changed files with 7 additions and 2 deletions

View file

@ -10,6 +10,7 @@ dotfiles for blink.sh env
- [Development setup with docker](#development-setup-with-docker)
- [Start and stop service](#start-and-stop-service)
- [Access host from the blink](#access-host-from-the-blink)
- [References](#references)
- [Demo](#demo)
<!-- /MarkdownTOC -->
@ -140,6 +141,10 @@ mosh blink@host -P 22022 -p 22022
docker-compose exec alpine killall mosh-server
```
# References
[vim-oscyank plugin](https://github.com/ojroques/vim-oscyank)
# Demo
Screencast

View file

@ -17,7 +17,7 @@ if has('vim_starting')
call dein#add('Shougo/deoplete.nvim')
""" With nvim we should use ojroques's repo, details: https://github.com/fcpg/vim-osc52/issues/6
call dein#add('ojroques/vim-osc52')
call dein#add('ojroques/vim-oscyank')
" call dein#add('fcpg/vim-osc52')
call dein#end()
@ -53,6 +53,6 @@ endif
if exists('##TextYankPost')
augroup BlinkClipboardIntegration
autocmd!
autocmd TextYankPost * silent! if v:event.operator ==# 'y' | call SendViaOSC52(join(v:event["regcontents"],"\n")) | endif
autocmd TextYankPost * silent! if v:event.operator ==# 'y' | call YankOSC52(join(v:event["regcontents"],"\n")) | endif
augroup END
endif