Reverted back to lunaperche, better compatibility with raw terminal
This commit is contained in:
@@ -28,12 +28,12 @@ vim.keymap.set('n', '<space>o', ":silent !chromium '%'<cr>", { desc = "Open in b
|
||||
|
||||
-- toggle colorscheme between dark and light
|
||||
vim.keymap.set('n', '<leader>m', function()
|
||||
if vim.g.colors_name == "nightfox" then
|
||||
vim.cmd('colorscheme dayfox')
|
||||
else
|
||||
vim.cmd('colorscheme nightfox')
|
||||
end
|
||||
end, { desc = "Toggle Nightfox/Dayfox" })
|
||||
if vim.opt.background:get() == "dark" then
|
||||
vim.o.background = "light"
|
||||
else
|
||||
vim.o.background = "dark"
|
||||
end
|
||||
end, { desc = "Toggle dark/light mode" })
|
||||
|
||||
--
|
||||
-- configure workspaces
|
||||
|
||||
Reference in New Issue
Block a user