Move NvimTree file explorer to left side
- Change side from 'right' to 'left' in nvim-tree.lua - Update edgy.nvim config to place NvimTree in left panel
This commit is contained in:
@@ -8,19 +8,26 @@ return {
|
||||
bigfile = { enabled = true },
|
||||
dashboard = {
|
||||
enabled = true,
|
||||
width = 60,
|
||||
width = 40,
|
||||
row = nil,
|
||||
col = nil,
|
||||
pane_gap = 4,
|
||||
pane_gap = 2,
|
||||
autokeys = "1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||
preset = {
|
||||
keys = dashboard_config.get_snacks_keys(),
|
||||
header = dashboard_config.get_header_string(),
|
||||
},
|
||||
formats = {
|
||||
key = function(item)
|
||||
return { { item.key, hl = "SnacksDashboardKey" } }
|
||||
end,
|
||||
},
|
||||
sections = {
|
||||
{ padding = 4 },
|
||||
{ section = "header" },
|
||||
{ padding = 2 },
|
||||
{ section = "keys", gap = 1, padding = 0 },
|
||||
{ padding = 1 },
|
||||
{ section = "keys", gap = 1, padding = 1 },
|
||||
{ section = "startup" },
|
||||
},
|
||||
},
|
||||
@@ -31,11 +38,17 @@ return {
|
||||
},
|
||||
input = { enabled = true },
|
||||
lazygit = { enabled = true },
|
||||
notifier = { enabled = true },
|
||||
notifier = {
|
||||
enabled = true,
|
||||
timeout = 3000,
|
||||
style = "minimal",
|
||||
top_down = false,
|
||||
margin = { top = 0, right = 1, bottom = 1 },
|
||||
},
|
||||
picker = { enabled = true },
|
||||
quickfile = { enabled = true },
|
||||
scope = { enabled = true },
|
||||
scroll = { enabled = true },
|
||||
scroll = { enabled = false },
|
||||
statuscolumn = { enabled = true },
|
||||
terminal = { enabled = true },
|
||||
toggle = { enabled = true },
|
||||
@@ -46,11 +59,9 @@ return {
|
||||
},
|
||||
})
|
||||
|
||||
-- Set up vim.ui.input and vim.ui.select for snacks
|
||||
vim.schedule(function()
|
||||
vim.ui.input = require("snacks.input").input
|
||||
vim.ui.select = require("snacks.picker").select
|
||||
end)
|
||||
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user