From 0a11506648ec20cbfc31fc14156554aeab2307dd Mon Sep 17 00:00:00 2001 From: Tudor <59114560+tudorjnu@users.noreply.github.com> Date: Mon, 6 Feb 2023 08:29:59 +0000 Subject: [PATCH] feat: Add clipboard sync by default --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index ac291dad17a..135f4a6bfd7 100644 --- a/init.lua +++ b/init.lua @@ -104,6 +104,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