summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md
index e7a407d..9d699dc 100644
--- a/README.md
+++ b/README.md
@@ -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