diff --git a/init.lua b/init.lua index dd25f6a3..ea4f4839 100644 --- a/init.lua +++ b/init.lua @@ -268,6 +268,26 @@ require('lazy').setup({ -- vim.fn['mkdp#util#install']() -- 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', dependencies = { 'nvim-tree/nvim-web-devicons', 'archibate/lualine-time' }, @@ -368,6 +388,7 @@ require('lazy').setup({ -- config = function() ... end -- PLUGIN CONFIG + { -- Useful plugin to show you pending keybinds. 'folke/which-key.nvim', event = 'VimEnter', -- Sets the loading event to 'VimEnter' @@ -1107,5 +1128,10 @@ require('lazy').setup({ -- transparencyv vim.api.nvim_set_hl(0, 'Normal', { 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` -- vim: ts=2 sts=2 sw=2 et