dotfiles/mzte-nv/conf/lua/pluginconf/nvimtree.lua
2022-11-21 00:24:12 +01:00

26 lines
552 B
Lua

local map = vim.api.nvim_set_keymap
require("nvim-tree").setup {
open_on_setup = not vim.g.started_by_vinput,
open_on_setup_file = false,
actions = {
change_dir = {
global = true,
},
},
view = {
adaptive_size = true,
},
diagnostics = {
enable = true,
},
git = {
ignore = false,
},
renderer = {
indent_markers = { enable = true },
group_empty = true,
},
}
map("n", "TT", [[<cmd>NvimTreeToggle<CR>]], { noremap = true, silent = true })