diff options
| author | theimpostor <theimpostor@users.noreply.github.com> | 2024-08-21 08:26:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-21 08:26:21 -0500 |
| commit | f749fe3757c87c667d8dc6b0040e17aea53612d5 (patch) | |
| tree | 85f4217a07f8689fa2b48f9b816050861c86b74e /README.md | |
| parent | 4401feeeb146adcab48855f77535d2ac288a8c11 (diff) | |
Update README.md
Notes on Neovim
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
