Switched colorscheme to cyberdream and added support for copy pasting via wl-clipboard

This commit is contained in:
jensonjohnathon 2025-04-03 15:04:42 +02:00
parent 37242186ed
commit a8276b207a
1 changed files with 18 additions and 3 deletions

View File

@ -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,
},