We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a3577 commit ffd2bcdCopy full SHA for ffd2bcd
2 files changed
lua/modules.lua
@@ -71,11 +71,12 @@ autocmd("CursorHold", {
71
})
72
73
-- Copy last yanked text to clipboard on focusLost
74
-autocmd('FocusLost', {
75
- desc = "Copy to clipboard on FocusLost",
76
- callback = function()
77
- vim.fn.setreg("+", vim.fn.getreg("0"))
78
- end,
79
-})
+-- disabling for now
+-- autocmd('FocusLost', {
+-- desc = "Copy to clipboard on FocusLost",
+-- callback = function()
+-- vim.fn.setreg("+", vim.fn.getreg("0"))
+-- end,
80
+-- })
81
82
return M
lua/opts.lua
@@ -4,7 +4,7 @@ local opts = {}
4
5
opts.initial = function()
6
opt.laststatus = 3
7
- -- opt.clipboard = "unnamedplus"
+ opt.clipboard = "unnamedplus"
8
opt.termguicolors = true
9
opt.fillchars:append { eob = " " }
10
opt.shortmess:append "aIF"
0 commit comments