diff --git a/init.lua b/init.lua index 15665a79..7947c980 100644 --- a/init.lua +++ b/init.lua @@ -92,7 +92,19 @@ vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = false - +-- Make wl-clipboard into the clipboard provider +vim.g.clipboard = { + name = 'wl-clipboard', + copy = { + ['+'] = 'wl-copy', + ['*'] = 'wl-copy', + }, + paste = { + ['+'] = 'wl-paste', + ['*'] = 'wl-paste', + }, + cache_enabled = 0, +} -- [[ Setting options ]] -- See `:help vim.opt` -- NOTE: You can change these options as you wish!