all repos

init.lua @ 5df81c156f1973435950d335768e996a2a97558a

my nvim config

init.lua/lua/configs/nvimtree.lua(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require("nvim-tree").setup {
  diagnostics = { enable = true },
  renderer = { group_empty = true },
  git = { enable = true },
  filters = {
    dotfiles = true,
    custom = {
      "^\\.git$",
      "^\\.bin$",
      "node_modules",
      "__pycache__",
      "vendor",
      "target",
    },
  },
  view = {
    side = "right",
    mappings = {
      list = {
        { key = { "l", "<CR>", "o" }, action = "edit" },
        { key = "h", action = "close_node" },
        { key = "v", action = "vsplit" },
        { key = "s", action = "split" },
      },
    },
  },
}