Explorar el Código

feat: Add clipboard sync by default (#166)

Tudor hace 3 años
padre
commit
9f384d76f4
Se han modificado 1 ficheros con 5 adiciones y 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