neo-tree: style
This commit is contained in:
parent
2837f0ff05
commit
b0965ec1a3
|
@ -10,23 +10,38 @@ return {
|
|||
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
},
|
||||
lazy = false,
|
||||
config = function()
|
||||
require('neo-tree').setup({
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = true,
|
||||
},
|
||||
opts = {
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = true,
|
||||
hide_dotfiles = false,
|
||||
hide_gitignored = false,
|
||||
hide_hidden = false,
|
||||
},
|
||||
window = {
|
||||
position = "right",
|
||||
width = 30,
|
||||
follow_current_file = {
|
||||
enabled = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
group_empty_dirs = true,
|
||||
use_libuv_file_watcher = true,
|
||||
},
|
||||
buffers = {
|
||||
follow_current_file = {
|
||||
enabled = true,
|
||||
},
|
||||
group_empty_dirs = true,
|
||||
},
|
||||
window = {
|
||||
position = "right",
|
||||
width = 30,
|
||||
},
|
||||
source_selector = {
|
||||
winbar = true,
|
||||
}
|
||||
},
|
||||
keys = {
|
||||
{ "<C-N>t", "<cmd>Neotree toggle<cr>", "Toggle Neotree" },
|
||||
{ "<C-N>t", "<cmd>Neotree toggle<cr>", "Toggle Neotree" },
|
||||
{ "<C-N>f", "<cmd>Neotree filesystem focus<cr>", "Focus filesystem in Neotree" },
|
||||
{ "<C-N>b", "<cmd>Neotree buffers focus<cr>", "Focus buffers in Neotree" },
|
||||
{ "<C-N>b", "<cmd>Neotree buffers focus<cr>", "Focus buffers in Neotree" },
|
||||
{ "<C-N>g", "<cmd>Neotree git_status focus<cr>", "Focus git status in Neotree" },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue