Switched colorscheme to cyberdream and added support for copy pasting via wl-clipboard
This commit is contained in:
parent
37242186ed
commit
a8276b207a
21
init.lua
21
init.lua
|
|
@ -118,6 +118,19 @@ vim.schedule(function()
|
||||||
vim.opt.clipboard = 'unnamedplus'
|
vim.opt.clipboard = 'unnamedplus'
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
vim.g.clipboard = {
|
||||||
|
name = 'wl-clipboard',
|
||||||
|
copy = {
|
||||||
|
['+'] = 'wl-copy',
|
||||||
|
['*'] = 'wl-copy',
|
||||||
|
},
|
||||||
|
paste = {
|
||||||
|
['+'] = 'wl-paste',
|
||||||
|
['*'] = 'wl-paste',
|
||||||
|
},
|
||||||
|
cache_enabled = true,
|
||||||
|
}
|
||||||
|
|
||||||
-- Enable break indent
|
-- Enable break indent
|
||||||
vim.opt.breakindent = true
|
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.
|
-- 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`.
|
-- 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.
|
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||||
config = function()
|
config = function()
|
||||||
---@diagnostic disable-next-line: missing-fields
|
---@diagnostic disable-next-line: missing-fields
|
||||||
require('tokyonight').setup {
|
require('cyberdream').setup {
|
||||||
styles = {
|
styles = {
|
||||||
comments = { italic = false }, -- Disable italics in comments
|
comments = { italic = false }, -- Disable italics in comments
|
||||||
},
|
},
|
||||||
|
|
@ -911,7 +926,7 @@ require('lazy').setup({
|
||||||
-- Load the colorscheme here.
|
-- Load the colorscheme here.
|
||||||
-- Like many other themes, this one has different styles, and you could load
|
-- Like many other themes, this one has different styles, and you could load
|
||||||
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
||||||
vim.cmd.colorscheme 'tokyonight-night'
|
vim.cmd.colorscheme 'cyberdream'
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue