Explorar o código

feat: Add clipboard sync by default (#166)

Tudor %!s(int64=3) %!d(string=hai) anos
pai
achega
9f384d76f4
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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