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
|
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||||
},
|
},
|
||||||
lazy = false,
|
lazy = false,
|
||||||
config = function()
|
opts = {
|
||||||
require('neo-tree').setup({
|
filesystem = {
|
||||||
filesystem = {
|
filtered_items = {
|
||||||
filtered_items = {
|
visible = true,
|
||||||
visible = true,
|
hide_dotfiles = false,
|
||||||
},
|
hide_gitignored = false,
|
||||||
|
hide_hidden = false,
|
||||||
},
|
},
|
||||||
window = {
|
follow_current_file = {
|
||||||
position = "right",
|
enabled = true,
|
||||||
width = 30,
|
|
||||||
},
|
},
|
||||||
})
|
group_empty_dirs = true,
|
||||||
end,
|
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 = {
|
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>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" },
|
{ "<C-N>g", "<cmd>Neotree git_status focus<cr>", "Focus git status in Neotree" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue