diff --git a/README.md b/README.md index 1d9b647..8ce141b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ -# Trtixy is a begginer friendy distro of neovim, that aims to be powerfull while remaining minimal. +# Trixy is a begginer friendy distro of NeoVim, that aims to be powerful while remaining minimal. ## Notable plugins and features include : diff --git a/lua/options/keybind.lua b/lua/options/keybind.lua index 3458ab2..b2bef46 100644 --- a/lua/options/keybind.lua +++ b/lua/options/keybind.lua @@ -35,7 +35,7 @@ end) -- slef explanitory map("n", "tw", "lua MiniTrailspace.trim()", options) -map("n", "fm", "CHADopen", options) +map("n", "fm", "NvimTreeToggle", options) map("n", "tt", "12 split Tnew", options) map("n", "zt", "Twilight", options) map("n", "zz", "ZenMode", options) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 7873540..e74fe64 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -12,3 +12,4 @@ require("plugins.veil") require("plugins.harpoon") require("plugins.hlblocks") require("plugins.gitsigns") +require("plugins.nvimtree") diff --git a/lua/plugins/lazy.lua b/lua/plugins/lazy.lua index ceb1a59..91043de 100644 --- a/lua/plugins/lazy.lua +++ b/lua/plugins/lazy.lua @@ -45,6 +45,17 @@ require("lazy").setup({ config = true }, + + { + "nvim-tree/nvim-tree.lua", + version = "*", + lazy = false, + dependencies = { + "nvim-tree/nvim-web-devicons", + }, + }, + + -- Debugger UI { "rcarriga/nvim-dap-ui", @@ -137,14 +148,6 @@ require("lazy").setup({ }, - -- File manager who? - { - "ms-jpq/chadtree", - version = 'chad', - build = 'python3 -m chadtree deps', - }, - - -- need that syntax highlight amirite { "nvim-treesitter/nvim-treesitter", diff --git a/lua/plugins/nvimtree.lua b/lua/plugins/nvimtree.lua new file mode 100644 index 0000000..ea0a54b --- /dev/null +++ b/lua/plugins/nvimtree.lua @@ -0,0 +1,23 @@ +-- disable netrw at the very start of your init.lua +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 + +-- set termguicolors to enable highlight groups +vim.opt.termguicolors = true + +-- empty setup using defaults +require("nvim-tree").setup() + +-- OR setup with some options +require("nvim-tree").setup({ + sort_by = "case_sensitive", + view = { + width = 30, + }, + renderer = { + group_empty = true, + }, + filters = { + dotfiles = true, + }, +}) diff --git a/pictures/lps-cmp.png b/pictures/lsp-cmp.png similarity index 100% rename from pictures/lps-cmp.png rename to pictures/lsp-cmp.png