summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTudor <59114560+tudorjnu@users.noreply.github.com>2023-02-17 21:37:36 +0000
committerGitHub <noreply@github.com>2023-02-17 16:37:36 -0500
commit35c7b16b01355670cb8aba48dc7e59b925144e6e (patch)
treea68853d2ad9b0c737fb9895e2489b9be4e82f7d8
parent66e7a6c077345ddef82ed252228901e3032d7cef (diff)
downloaddots-35c7b16b01355670cb8aba48dc7e59b925144e6e.tar.gz
feat: Add clipboard sync by default (#166)
-rw-r--r--nvim/init.lua5
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