add hl to nvimtree_rootdir
This commit is contained in:
parent
f4d24e35ae
commit
f27f7b1502
|
@ -75,7 +75,7 @@ fg("NvimTreeVertSplit", darker_black)
|
|||
bg("NvimTreeVertSplit", darker_black)
|
||||
fg("NvimTreeEndOfBuffer", darker_black)
|
||||
|
||||
fg("NvimTreeRootFolder", darker_black)
|
||||
vim.cmd("hi NvimTreeRootFolder gui=underline guifg="..purple)
|
||||
bg("NvimTreeNormal", darker_black)
|
||||
fg_bg("NvimTreeStatuslineNc", darker_black, darker_black)
|
||||
fg_bg("NvimTreeWindowPicker", red, black2)
|
||||
|
|
|
@ -32,7 +32,7 @@ map("", "<Up>", 'v:count ? "k" : "gk"', {expr = true})
|
|||
-- OPEN TERMINALS --
|
||||
map("n", "<C-l>", ":vnew +terminal | setlocal nobuflisted <CR>", opt) -- term over right
|
||||
map("n", "<C-x>", ":10new +terminal | setlocal nobuflisted <CR>", opt) -- term bottom
|
||||
map("n", "<C-t>t", ":terminal <CR>", opt) -- term buffer
|
||||
map("n", "<C-t>t", ":<Cmd> terminal <CR>", opt) -- term buffer
|
||||
|
||||
-- copy whole file content
|
||||
map("n", "<C-a>", ":%y+<CR>", opt)
|
||||
|
|
|
@ -21,7 +21,7 @@ g.nvim_tree_indent_markers = 1
|
|||
g.nvim_tree_hide_dotfiles = 1
|
||||
g.nvim_tree_git_hl = 1
|
||||
g.nvim_tree_highlight_opened_files = 0
|
||||
g.nvim_tree_root_folder_modifier = ":t"
|
||||
g.nvim_tree_root_folder_modifier = table.concat {":t:gs?$?/..", string.rep(" ", 1000), "?:gs?^??"}
|
||||
g.nvim_tree_tab_open = 0
|
||||
g.nvim_tree_allow_resize = 1
|
||||
g.nvim_tree_add_trailing = 0 -- append a trailing slash to folder names
|
||||
|
@ -62,7 +62,7 @@ g.nvim_tree_icons = {
|
|||
|
||||
g.nvim_tree_bindings = {
|
||||
{key = {"<CR>", "o", "<2-LeftMouse>"}, cb = tree_cb("edit")},
|
||||
{key = {"<2-RightMouse>", "<C-}>"}, cb = tree_cb("cd")},
|
||||
{key = {"<2-RightMouse>", "<C-]>"}, cb = tree_cb("cd")},
|
||||
{key = "<C-v>", cb = tree_cb("vsplit")},
|
||||
{key = "<C-x>", cb = tree_cb("split")},
|
||||
{key = "<C-t>", cb = tree_cb("tabnew")},
|
||||
|
|
Loading…
Reference in New Issue