nvim: clipboard
This commit is contained in:
parent
4debed9404
commit
0217c618a6
3 changed files with 8 additions and 4 deletions
|
@ -11,8 +11,8 @@
|
|||
;; Other OS
|
||||
(set vim.g.clipboard
|
||||
{:name clip-name
|
||||
:copy {:+ osc52.copy :* osc52.copy}
|
||||
:paste {:+ osc52.paste :* osc52.paste}}))
|
||||
:copy {:+ (osc52.copy "+") :* (osc52.copy "*")}
|
||||
:paste {:+ (osc52.paste "+") :* (osc52.paste "*")}}))
|
||||
(vim.opt.clipboard:prepend :unnamedplus))
|
||||
|
||||
mod)
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
(let [yanky (require :yanky)]
|
||||
(yanky.setup {:ring {:storage :memory}}))
|
||||
(let [yanky (require :yanky)
|
||||
uname (vim.loop.os_uname)]
|
||||
(yanky.setup {:ring {:storage :memory}
|
||||
:system_clipboard {:sync_with_ring (= uname.sysname :Darwin)}}))
|
||||
|
|
|
@ -18,6 +18,8 @@ in
|
|||
extraLuaPackages = luaPkgs: with luaPkgs; [ jsregexp lua-toml readline ];
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
stdenv.cc
|
||||
|
||||
git
|
||||
nodejs
|
||||
tree-sitter
|
||||
|
|
Loading…
Reference in a new issue