diff options
| author | zyp <zhou.youpeng@foxmail.com> | 2023-12-18 11:33:18 +0800 |
|---|---|---|
| committer | zyp <zhou.youpeng@foxmail.com> | 2023-12-18 11:33:18 +0800 |
| commit | cc359732a6c907d90dcaeb27ccb9c7a6aec94eab (patch) | |
| tree | 2f6ea42aeb45fb8a456b6b8d7931e20ef9c3cd79 /README.md | |
| parent | 6036fff0829ae3c065f58539b84186cd9a6b01b5 (diff) | |
feat: update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -79,6 +79,27 @@ This will install the latest version of osc to `$GOPATH/bin`. To find out where - [ ] [copy] check is stdin is readable - [ ] tmux support +## for neovim + +- set init.lua + +```lua +vim.cmd([[ +let g:clipboard = { + \ 'name': 'osc-copy', + \ 'copy': { + \ '+': 'osc copy', + \ '*': 'osc copy', + \ }, + \ 'paste': { + \ '+': 'osc paste', + \ '*': 'osc paste', + \ }, + \ 'cache_enabled': 0, + \ } +]]) +``` + ## Credits - [ojroques/vim-ocsyank](https://github.com/ojroques/vim-oscyank) - inspiration and introduction to OSC52 - [rumpelsepp/oscclip](https://github.com/rumpelsepp/oscclip) - working python implementation |
