You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
1.8 KiB
95 lines
1.8 KiB
-- nvim-tree config
|
|
require'nvim-tree'.setup {
|
|
disable_netrw = true,
|
|
hijack_netrw = true,
|
|
open_on_setup = true,
|
|
ignore_ft_on_setup = {},
|
|
auto_close = false,
|
|
auto_reload_on_write = true,
|
|
open_on_tab = false,
|
|
hijack_cursor = false,
|
|
update_cwd = false,
|
|
update_to_buf_dir = {
|
|
enable = true,
|
|
auto_open = true,
|
|
},
|
|
diagnostics = {
|
|
enable = false,
|
|
icons = {
|
|
hint = "",
|
|
info = "",
|
|
warning = "",
|
|
error = "",
|
|
}
|
|
},
|
|
update_focused_file = {
|
|
enable = false,
|
|
update_cwd = false,
|
|
ignore_list = {}
|
|
},
|
|
system_open = {
|
|
cmd = nil,
|
|
args = {}
|
|
},
|
|
filters = {
|
|
dotfiles = true,
|
|
custom = {}
|
|
},
|
|
git = {
|
|
enable = true,
|
|
ignore = true,
|
|
timeout = 500,
|
|
},
|
|
view = {
|
|
width = 30,
|
|
height = 30,
|
|
hide_root_folder = false,
|
|
side = 'left',
|
|
auto_resize = false,
|
|
mappings = {
|
|
custom_only = false,
|
|
list = {}
|
|
},
|
|
number = false,
|
|
relativenumber = false,
|
|
signcolumn = "yes"
|
|
},
|
|
trash = {
|
|
cmd = "trash",
|
|
require_confirm = true
|
|
},
|
|
actions = {
|
|
change_dir = {
|
|
global = false,
|
|
},
|
|
open_file = {
|
|
quit_on_open = false,
|
|
}
|
|
}
|
|
}
|
|
vim.cmd([[
|
|
let g:nvim_tree_icons = {
|
|
\ 'default': '',
|
|
\ 'symlink': '',
|
|
\ 'git': {
|
|
\ 'unstaged': "✗",
|
|
\ 'staged': "✓",
|
|
\ 'unmerged': "",
|
|
\ 'renamed': "➜",
|
|
\ 'untracked': "★",
|
|
\ 'deleted': "",
|
|
\ 'ignored': "◌"
|
|
\ },
|
|
\ 'folder': {
|
|
\ 'arrow_open': "",
|
|
\ 'arrow_closed': "",
|
|
\ 'default': "",
|
|
\ 'open': "",
|
|
\ 'empty': "",
|
|
\ 'empty_open': "",
|
|
\ 'symlink': "",
|
|
\ 'symlink_open': "",
|
|
\ }
|
|
\ }
|
|
]])
|
|
|
|
|