From a8276b207afe3485a1966e521c9da952c31dca1d Mon Sep 17 00:00:00 2001 From: jensonjohnathon Date: Thu, 3 Apr 2025 15:04:42 +0200 Subject: [PATCH] Switched colorscheme to cyberdream and added support for copy pasting via wl-clipboard --- init.lua | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 21f46f65..9c48fd22 100644 --- a/init.lua +++ b/init.lua @@ -118,6 +118,19 @@ vim.schedule(function() vim.opt.clipboard = 'unnamedplus' end) +vim.g.clipboard = { + name = 'wl-clipboard', + copy = { + ['+'] = 'wl-copy', + ['*'] = 'wl-copy', + }, + paste = { + ['+'] = 'wl-paste', + ['*'] = 'wl-paste', + }, + cache_enabled = true, +} + -- Enable break indent vim.opt.breakindent = true @@ -898,11 +911,13 @@ require('lazy').setup({ -- change the command in the config to whatever the name of that colorscheme is. -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. - 'folke/tokyonight.nvim', + -- 'folke/tokyonight.nvim', + -- 'navarasu/onedark.nvim', + 'scottmckendry/cyberdream.nvim', priority = 1000, -- Make sure to load this before all the other start plugins. config = function() ---@diagnostic disable-next-line: missing-fields - require('tokyonight').setup { + require('cyberdream').setup { styles = { comments = { italic = false }, -- Disable italics in comments }, @@ -911,7 +926,7 @@ require('lazy').setup({ -- Load the colorscheme here. -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' + vim.cmd.colorscheme 'cyberdream' end, },