From 9f384d76f4ecb3d12b9315767df3b327a3c9191b Mon Sep 17 00:00:00 2001 From: Tudor <59114560+tudorjnu@users.noreply.github.com> Date: Fri, 17 Feb 2023 21:37:36 +0000 Subject: feat: Add clipboard sync by default (#166) --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-70-g09d2