aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 13db139..aeca6d2 100644
--- a/init.lua
+++ b/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