Neotree toggle, catppuccin background transparent

This commit is contained in:
Pablu23
2024-05-18 16:40:57 +02:00
parent 49e837b746
commit d8ad94bbe2
4 changed files with 10 additions and 5 deletions

View File

@@ -1,4 +0,0 @@
return {
}

View File

@@ -4,6 +4,10 @@ return {
priority = 1000, priority = 1000,
lazy = false, lazy = false,
config= function() config= function()
require("catppuccin").setup({
transparent_background = true,
})
vim.cmd.colorscheme "catppuccin" vim.cmd.colorscheme "catppuccin"
end end
} }

View File

@@ -7,6 +7,6 @@ return {
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
}, },
config = function() config = function()
vim.keymap.set('n', '<C-n>', ':Neotree filesystem reveal right<CR>', {}) vim.keymap.set('n', '<C-n>', ':Neotree filesystem reveal right toggle<CR>', {})
end end
} }

View File

@@ -5,3 +5,8 @@ vim.cmd("set shiftwidth=2")
vim.cmd("set expandtab") vim.cmd("set expandtab")
vim.cmd("set number") vim.cmd("set number")
vim.cmd("set clipboard+=unnamedplus") vim.cmd("set clipboard+=unnamedplus")
vim.cmd("highlight Normal guibg=none")
vim.cmd("highlight NonText guibg=none")
vim.cmd("highlight Normal ctermbg=none")
vim.cmd("highlight NonText ctermbg=none")