Update to (somewhat?) dendritic pattern

Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts.

> Atomic commits? Never heard of them!
This commit is contained in:
Weckyy702
2026-03-15 15:04:47 +01:00
parent 5f41ff2b1b
commit e34b5ecce3
81 changed files with 1413 additions and 1073 deletions

View File

@@ -0,0 +1,20 @@
{ ... }: {
imports = [
./keymaps.nix
];
dependencies.ripgrep.enable = true;
plugins.telescope = {
enable = true;
extensions.file-browser = {
enable = true;
settings = {
git_status = true;
hijack_netrw = true;
respect_gitignore = true;
fzf-native.enable = true;
fzf-native.settings.case_mode = "ignore_case";
};
};
};
}

View File

@@ -0,0 +1,24 @@
{ ... }: {
keymaps = [
{
key = "<leader>sf";
action = "<cmd>Telescope find_files<CR>";
options.desc = "[S]earch [F]iles";
}
{
key = "<leader>sg";
action = "<cmd>Telescope live_grep<CR>";
options.desc = "[S]earch by [G]rep";
}
{
key = "<leader>sw";
action = "<cmd>Telescope grep_string<CR>";
options.desc = "[S]earch current [W]ord";
}
{
key = "<leader>q";
action = "<cmd>Telescope diagnostics<CR>";
options.desc = "Lsp Diagnostics";
}
];
}