config(nvim): hide mini statusline in NvimTree

main
sudo pacman -Syu 2024-06-25 15:26:26 +07:00
parent cad4d80c82
commit a16f690ed9
1 changed files with 13 additions and 4 deletions

View File

@ -355,10 +355,6 @@ require("lazy").setup({
}, },
}) })
-- Sofle V2
vim.keymap.set("n", ")c", "]c", { remap = true })
vim.keymap.set("n", "(c", "[c", { remap = true })
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-git.md -- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-git.md
require("mini.git").setup() require("mini.git").setup()
@ -370,6 +366,19 @@ require("lazy").setup({
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-surround.md -- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-surround.md
require("mini.surround").setup() require("mini.surround").setup()
-- Sofle V2
vim.keymap.set("n", ")c", "]c", { remap = true })
vim.keymap.set("n", "(c", "[c", { remap = true })
local augroup = vim.api.nvim_create_augroup("UserMiniNvim", {})
vim.api.nvim_create_autocmd("FileType", {
group = augroup,
pattern = "NvimTree",
callback = function(ev)
vim.b.ministatusline_disable = true
end,
})
end, end,
}, },