diff options
| author | Tudor <59114560+tudorjnu@users.noreply.github.com> | 2023-02-17 21:37:36 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-17 16:37:36 -0500 |
| commit | 35c7b16b01355670cb8aba48dc7e59b925144e6e (patch) | |
| tree | a68853d2ad9b0c737fb9895e2489b9be4e82f7d8 | |
| parent | 66e7a6c077345ddef82ed252228901e3032d7cef (diff) | |
| download | dots-35c7b16b01355670cb8aba48dc7e59b925144e6e.tar.gz | |
feat: Add clipboard sync by default (#166)
| -rw-r--r-- | nvim/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index 13db139..aeca6d2 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -201,6 +201,11 @@ vim.wo.number = true -- Enable mouse mode vim.o.mouse = 'a' +-- Sync clipboard between OS and Neovim. +-- Remove this option if you want your OS clipboard to remain independent. +-- See `:help 'clipboard'` +vim.o.clipboard = 'unnamedplus' + -- Enable break indent vim.o.breakindent = true |