diff --git a/dotfiles/neovim/lua/my/plugins/init.lua b/dotfiles/neovim/lua/my/plugins/init.lua index 8fe3d0c..f2db290 100644 --- a/dotfiles/neovim/lua/my/plugins/init.lua +++ b/dotfiles/neovim/lua/my/plugins/init.lua @@ -6,11 +6,13 @@ function M.setup() require("my.plugins.telescope").setup() require("my.plugins.treesitter").setup() require("my.plugins.comment").setup() - require("my.plugins.nerdtree").setup() + -- require("my.plugins.nerdtree").setup() + require("my.plugins.nvim-tree").setup() -- Other unconfigured plugins require('nvim-autopairs').setup() require("startup").setup({theme = "dashboard"}) + require('lualine').setup({theme = "github"}) end return M diff --git a/dotfiles/neovim/lua/my/plugins/nvim-tree.lua b/dotfiles/neovim/lua/my/plugins/nvim-tree.lua new file mode 100644 index 0000000..a457b00 --- /dev/null +++ b/dotfiles/neovim/lua/my/plugins/nvim-tree.lua @@ -0,0 +1,11 @@ +local mapSilent = require("my.keymaps").mapSilent + +local M = {} + +function M.setup() + require'nvim-tree'.setup() + -- Toggle nerdtree with Control-t + mapSilent("n", "", ":NvimTreeToggle") +end + +return M diff --git a/modules/applications/neovim.nix b/modules/applications/neovim.nix index 6c80d12..71901f8 100644 --- a/modules/applications/neovim.nix +++ b/modules/applications/neovim.nix @@ -47,9 +47,8 @@ in vim-devicons # nice looking icons nvim-web-devicons # fork of vim-devicons? plenary-nvim # async utility lib it seems? - nerdtree # file tree - nerdtree-git-plugin # show git status for files - nerdtree-syntax-highlight # syntax hightlight files in the tree + lualine-nvim # customizable status line + nvim-tree # file tree ]; }; }