summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheimpostor <theimpostor@users.noreply.github.com>2024-08-21 08:26:21 -0500
committerGitHub <noreply@github.com>2024-08-21 08:26:21 -0500
commitf749fe3757c87c667d8dc6b0040e17aea53612d5 (patch)
tree85f4217a07f8689fa2b48f9b816050861c86b74e
parent4401feeeb146adcab48855f77535d2ac288a8c11 (diff)
Update README.md
Notes on Neovim
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 634b50c..66815a6 100644
--- a/README.md
+++ b/README.md
@@ -85,9 +85,9 @@ go install -v github.com/theimpostor/osc@latest
This will install the latest version of osc to `$GOPATH/bin`. To find out where `$GOPATH` is, run `go env GOPATH`
-## For neovim
+## Neovim clipboard Provider
-- set init.lua
+osc can be used as the clipboard provider for Neovim:
```lua
vim.cmd([[
@@ -106,6 +106,8 @@ let g:clipboard = {
]])
```
+N.B. Neovim 0.10 introduced native support for OSC52, so this may not be needed. See the [Neovim documentation](https://neovim.io/doc/user/provider.html#clipboard-osc52).
+
## 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