feat: attempt to use nvim-tree instead
This commit is contained in:
parent
a5883567bb
commit
68ceebb595
|
@ -6,11 +6,13 @@ function M.setup()
|
||||||
require("my.plugins.telescope").setup()
|
require("my.plugins.telescope").setup()
|
||||||
require("my.plugins.treesitter").setup()
|
require("my.plugins.treesitter").setup()
|
||||||
require("my.plugins.comment").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
|
-- Other unconfigured plugins
|
||||||
require('nvim-autopairs').setup()
|
require('nvim-autopairs').setup()
|
||||||
require("startup").setup({theme = "dashboard"})
|
require("startup").setup({theme = "dashboard"})
|
||||||
|
require('lualine').setup({theme = "github"})
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
11
dotfiles/neovim/lua/my/plugins/nvim-tree.lua
Normal file
11
dotfiles/neovim/lua/my/plugins/nvim-tree.lua
Normal file
|
@ -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", "<C-t>", ":NvimTreeToggle<CR>")
|
||||||
|
end
|
||||||
|
|
||||||
|
return M
|
|
@ -47,9 +47,8 @@ in
|
||||||
vim-devicons # nice looking icons
|
vim-devicons # nice looking icons
|
||||||
nvim-web-devicons # fork of vim-devicons?
|
nvim-web-devicons # fork of vim-devicons?
|
||||||
plenary-nvim # async utility lib it seems?
|
plenary-nvim # async utility lib it seems?
|
||||||
nerdtree # file tree
|
lualine-nvim # customizable status line
|
||||||
nerdtree-git-plugin # show git status for files
|
nvim-tree # file tree
|
||||||
nerdtree-syntax-highlight # syntax hightlight files in the tree
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue