diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2026-10-18 23:07:57 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2026-10-18 23:07:57 -0600 |
| commit | d311167f64115203d5294105f07412cee6e51087 (patch) | |
| tree | 61d3fa84561e91f1ee58b05583da3da056404fb9 | |
| parent | 457674c5b25b9f4be84f0f0ddf0cea7c1811174a (diff) | |
| download | config.vim-d311167f64115203d5294105f07412cee6e51087.tar.gz config.vim-d311167f64115203d5294105f07412cee6e51087.tar.bz2 config.vim-d311167f64115203d5294105f07412cee6e51087.zip | |
| -rw-r--r-- | lua/config/01-plugins.lua | 2 | ||||
| -rw-r--r-- | lua/config/99-nvim-tree-config.lua | 10 | ||||
| -rw-r--r-- | lua/config/local/01-plugins.lua | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/lua/config/01-plugins.lua b/lua/config/01-plugins.lua index e0acdd0..4a6f653 100644 --- a/lua/config/01-plugins.lua +++ b/lua/config/01-plugins.lua @@ -34,6 +34,7 @@ local plugins = { -- UI github('nvim-lualine/lualine.nvim'), github('nvim-tree/nvim-web-devicons'), + github('nvim-tree/nvim-tree.lua'), -- LSP server presets only; native vim.lsp.enable/config is used elsewhere. github('neovim/nvim-lspconfig'), @@ -45,6 +46,7 @@ local plugins = { josher('nvim-warp'), josher('meltdown'), josher('extregs.nvim'), + josher('hobs.nvim'), -- josher('rneovim-userregs'), -- Optional experimental branch/plugin. } diff --git a/lua/config/99-nvim-tree-config.lua b/lua/config/99-nvim-tree-config.lua new file mode 100644 index 0000000..2f4a048 --- /dev/null +++ b/lua/config/99-nvim-tree-config.lua @@ -0,0 +1,10 @@ +-- nvim-tree configuration +-- Preserve the original behavior: don't automatically open the tree when +-- editing a directory. Use <leader>nt to toggle it via your mappings file. +require('nvim-tree').setup({ + hijack_directories = { + enable = true, + auto_open = false, + }, +}) + diff --git a/lua/config/local/01-plugins.lua b/lua/config/local/01-plugins.lua new file mode 100644 index 0000000..36e5b35 --- /dev/null +++ b/lua/config/local/01-plugins.lua @@ -0,0 +1,2 @@ +-- vim.pack.add({ 'https://github.com/catppuccin/nvim.git' }) +-- vim.cmd.colorscheme('catppuccin-nvim') |