Added nvim-tree

This commit is contained in:
Piotr Anisko 2025-03-12 16:07:34 +01:00
parent 4fd416a86a
commit 8aa9f985ce
1 changed files with 26 additions and 0 deletions

View File

@ -268,6 +268,26 @@ require('lazy').setup({
-- vim.fn['mkdp#util#install']() -- vim.fn['mkdp#util#install']()
-- end, -- end,
-- }, -- },
-- disable netrw at the very start of your init.lua
{
'nvim-tree/nvim-tree.lua',
config = function()
require('nvim-tree').setup {
sort = {
sorter = 'case_sensitive',
},
view = {
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
}
end,
},
{ {
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons', 'archibate/lualine-time' }, dependencies = { 'nvim-tree/nvim-web-devicons', 'archibate/lualine-time' },
@ -368,6 +388,7 @@ require('lazy').setup({
-- config = function() ... end -- config = function() ... end
-- PLUGIN CONFIG -- PLUGIN CONFIG
{ -- Useful plugin to show you pending keybinds. { -- Useful plugin to show you pending keybinds.
'folke/which-key.nvim', 'folke/which-key.nvim',
event = 'VimEnter', -- Sets the loading event to 'VimEnter' event = 'VimEnter', -- Sets the loading event to 'VimEnter'
@ -1107,5 +1128,10 @@ require('lazy').setup({
-- transparencyv -- transparencyv
vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' }) vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' }) vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- optionally enable 24-bit colour
vim.opt.termguicolors = true
-- The line beneath this is called `modeline`. See `:help modeline` -- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et