mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 17:37:43 -04:00
- Delete 2024-12-rework/ folder
- Rename modules/hosts/common to modules/shared, then split into:
- modules/shared/home/general
- modules/shared/home/linux
- modules/shared/nixos
- Update all import paths throughout the codebase
- Update lib/*.nix to use new paths
- Fix hardcoded /Users/${username} to use config.home.homeDirectory
- Update README and examples/flake-structure.nix
65 lines
1.6 KiB
Lua
65 lines
1.6 KiB
Lua
return {
|
|
"folke/edgy.nvim",
|
|
event = "VeryLazy",
|
|
opts = {
|
|
exit_when_last = false,
|
|
bottom = {
|
|
-- toggleterm / lazyterm at the bottom with a height of 40% of the screen
|
|
{
|
|
ft = "toggleterm",
|
|
size = { height = 0.2 },
|
|
-- exclude floating windows
|
|
filter = function(buf, win)
|
|
return vim.api.nvim_win_get_config(win).relative == ""
|
|
end,
|
|
},
|
|
"Trouble",
|
|
{ ft = "qf", title = "QuickFix" },
|
|
{
|
|
ft = "help",
|
|
size = { height = 20 },
|
|
-- only show help buffers
|
|
filter = function(buf)
|
|
return vim.bo[buf].buftype == "help"
|
|
end,
|
|
},
|
|
{ ft = "spectre_panel", size = { height = 0.4 } },
|
|
},
|
|
left = {
|
|
-- Neo-tree filesystem always takes half the screen height
|
|
{
|
|
title = "Neo-Tree",
|
|
ft = "neo-tree",
|
|
filter = function(buf)
|
|
return vim.b[buf].neo_tree_source == "filesystem"
|
|
end,
|
|
size = { height = 0.5 },
|
|
},
|
|
{
|
|
title = "Neo-Tree Git",
|
|
ft = "neo-tree",
|
|
filter = function(buf)
|
|
return vim.b[buf].neo_tree_source == "git_status"
|
|
end,
|
|
pinned = true,
|
|
open = "Neotree position=right git_status",
|
|
},
|
|
{
|
|
title = "Neo-Tree Buffers",
|
|
ft = "neo-tree",
|
|
filter = function(buf)
|
|
return vim.b[buf].neo_tree_source == "buffers"
|
|
end,
|
|
pinned = true,
|
|
open = "Neotree position=top buffers",
|
|
},
|
|
{
|
|
ft = "Outline",
|
|
pinned = true,
|
|
open = "SymbolsOutlineOpen",
|
|
},
|
|
-- any other neo-tree windows
|
|
"neo-tree",
|
|
},
|
|
},
|
|
}
|