Replaced ChadTree with NvimTree, spelling fixes
This commit is contained in:
parent
413682c1d9
commit
924b37ba12
|
@ -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 :
|
## Notable plugins and features include :
|
||||||
|
|
|
@ -35,7 +35,7 @@ end)
|
||||||
|
|
||||||
-- slef explanitory
|
-- slef explanitory
|
||||||
map("n", "<leader>tw", "<cmd>lua MiniTrailspace.trim()<CR>", options)
|
map("n", "<leader>tw", "<cmd>lua MiniTrailspace.trim()<CR>", options)
|
||||||
map("n", "<leader>fm", "<cmd>CHADopen<CR>", options)
|
map("n", "<leader>fm", "<cmd>NvimTreeToggle<CR>", options)
|
||||||
map("n", "<leader>tt", "<cmd>12 split <CR><cmd>Tnew<CR>", options)
|
map("n", "<leader>tt", "<cmd>12 split <CR><cmd>Tnew<CR>", options)
|
||||||
map("n", "<leader>zt", "<cmd>Twilight<CR>", options)
|
map("n", "<leader>zt", "<cmd>Twilight<CR>", options)
|
||||||
map("n", "<leader>zz", "<cmd>ZenMode<CR>", options)
|
map("n", "<leader>zz", "<cmd>ZenMode<CR>", options)
|
||||||
|
|
|
@ -12,3 +12,4 @@ require("plugins.veil")
|
||||||
require("plugins.harpoon")
|
require("plugins.harpoon")
|
||||||
require("plugins.hlblocks")
|
require("plugins.hlblocks")
|
||||||
require("plugins.gitsigns")
|
require("plugins.gitsigns")
|
||||||
|
require("plugins.nvimtree")
|
||||||
|
|
|
@ -45,6 +45,17 @@ require("lazy").setup({
|
||||||
config = true
|
config = true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"nvim-tree/nvim-tree.lua",
|
||||||
|
version = "*",
|
||||||
|
lazy = false,
|
||||||
|
dependencies = {
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
-- Debugger UI
|
-- Debugger UI
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-dap-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
|
-- need that syntax highlight amirite
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
|
23
lua/plugins/nvimtree.lua
Normal file
23
lua/plugins/nvimtree.lua
Normal file
|
@ -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,
|
||||||
|
},
|
||||||
|
})
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Loading…
Reference in a new issue