Browse Source

feat: Add clipboard sync by default (#166)

Tudor 3 years ago
parent
commit
9f384d76f4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      init.lua

+ 5 - 0
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