2023-08-27 18:22:29 +00:00
|
|
|
return {
|
|
|
|
"kyazdani42/nvim-tree.lua",
|
|
|
|
keys = {
|
|
|
|
{"<leader>me", ':NvimTreeToggle<CR>', desc = 'open / close nvim tree', mode = 'n'},
|
|
|
|
{"<F3>", ':NvimTreeToggle<CR>', desc = 'open / close nvim tree', mode = 'n'}
|
|
|
|
},
|
|
|
|
opts = {
|
|
|
|
auto_reload_on_write = true,
|
|
|
|
disable_netrw = false,
|
|
|
|
hijack_cursor = false,
|
|
|
|
hijack_netrw = true,
|
|
|
|
hijack_unnamed_buffer_when_opening = false,
|
|
|
|
open_on_tab = false,
|
|
|
|
sort_by = "name",
|
|
|
|
update_cwd = false,
|
|
|
|
view = {
|
|
|
|
width = 40,
|
|
|
|
side = "left",
|
|
|
|
preserve_window_proportions = false,
|
|
|
|
number = false,
|
|
|
|
relativenumber = false,
|
|
|
|
signcolumn = "yes",
|
|
|
|
},
|
|
|
|
renderer = {
|
|
|
|
indent_markers = {
|
|
|
|
enable = false,
|
|
|
|
icons = {
|
|
|
|
corner = "└ ",
|
|
|
|
edge = "│ ",
|
|
|
|
none = " ",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
hijack_directories = {
|
|
|
|
enable = true,
|
|
|
|
auto_open = true,
|
|
|
|
},
|
|
|
|
update_focused_file = {
|
|
|
|
enable = false,
|
|
|
|
update_cwd = false,
|
|
|
|
ignore_list = {},
|
|
|
|
},
|
|
|
|
system_open = {
|
|
|
|
cmd = nil,
|
|
|
|
args = {},
|
|
|
|
},
|
|
|
|
filters = {
|
|
|
|
dotfiles = false,
|
|
|
|
custom = {},
|
|
|
|
exclude = {},
|
|
|
|
},
|
|
|
|
git = {
|
|
|
|
enable = true,
|
|
|
|
ignore = true,
|
|
|
|
timeout = 400,
|
|
|
|
},
|
|
|
|
actions = {
|
|
|
|
use_system_clipboard = true,
|
|
|
|
change_dir = {
|
|
|
|
enable = true,
|
|
|
|
global = false,
|
|
|
|
},
|
|
|
|
open_file = {
|
2024-09-01 01:12:53 +00:00
|
|
|
quit_on_open = true,
|
2023-08-27 18:22:29 +00:00
|
|
|
resize_window = false,
|
|
|
|
window_picker = {
|
|
|
|
enable = true,
|
|
|
|
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
|
|
|
exclude = {
|
|
|
|
filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame" },
|
|
|
|
buftype = { "nofile", "terminal", "help" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|