This commit is contained in:
2025-11-01 13:09:07 +01:00
parent 57b336e41f
commit b2feebebae
5 changed files with 43 additions and 54 deletions

38
flake.lock generated
View File

@@ -3,16 +3,16 @@
"brew-src": { "brew-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1758543057, "lastModified": 1761551821,
"narHash": "sha256-lw3V2jOGYphUFHYQ5oARcb6urlbNpUCLJy1qhsGdUmc=", "narHash": "sha256-N3Zj73TAxclhLGgADbPVwcVrhYIBKUgAxjfQuOXre6s=",
"owner": "Homebrew", "owner": "Homebrew",
"repo": "brew", "repo": "brew",
"rev": "5b236456eb93133c2bd0d60ef35ed63f1c0712f6", "rev": "8f6719274133c5bcc24c058c5a6bcbb3b0cd48b3",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Homebrew", "owner": "Homebrew",
"ref": "4.6.12", "ref": "4.6.19",
"repo": "brew", "repo": "brew",
"type": "github" "type": "github"
} }
@@ -151,11 +151,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1761904043, "lastModified": 1761995424,
"narHash": "sha256-or9H6mRE2bjYI3TBpvNBeumvzEwXC0ZIoD398yJeRw0=", "narHash": "sha256-GdPQz0w7Yb9tUT6BXju+5WRSxMDkfYLa0/9suCA6zf8=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "1e188631f1b8563752f6f0c65f85f29eb5f9e8c6", "rev": "552f85b2064669726ac864dd029b65d4e43fdd55",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -167,11 +167,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1761901391, "lastModified": 1761993727,
"narHash": "sha256-q2v0Joa12ZB3wJ4FFwcRPNi6p5nTQwXwpyOt9uPEKq8=", "narHash": "sha256-AiVRdD4c1DfaREr5bD6QWNzxAsOTGc9BcLGYhfeDKHg=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "c9a0cb8e272bd24d2da9fb59c99e573e4cb63b2a", "rev": "6693e30e79771beb077d722430144c06bcc55b6c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -213,11 +213,11 @@
"brew-src": "brew-src" "brew-src": "brew-src"
}, },
"locked": { "locked": {
"lastModified": 1758598228, "lastModified": 1761927470,
"narHash": "sha256-qr60maXGbZ4FX5tejPRI3nr0bnRTnZ3AbbbfO6/6jq4=", "narHash": "sha256-KsFDGRGD8j1R6TvJ4HkebKsh3HXLY0XazanLrhO3wqE=",
"owner": "zhaofengli-wip", "owner": "zhaofengli-wip",
"repo": "nix-homebrew", "repo": "nix-homebrew",
"rev": "f36e5db56e117f7df701ab152d0d2036ea85218c", "rev": "3cae36b3a17b09a66435291619dce8cf2c4728ca",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -228,11 +228,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1761904617, "lastModified": 1761995367,
"narHash": "sha256-p3uL3UCbH6vZPNzsfsvRwag6IOqhrDy5Muadqzr2bRY=", "narHash": "sha256-DwQ0lrxLVPHvqLIBxLD9dbGvCjQ7R5/30y3tjFQ4if4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "48a5887cb3a5e12b4e393f885ed3595a8ce61b4c", "rev": "72df5def7bb668852b5ae8c3874be47243e551f7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -297,11 +297,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1761829429, "lastModified": 1761947009,
"narHash": "sha256-VuFa5OzKyYl4XvQwaWS9ZfhVrtpCYPE3Dgy83kDPf30=", "narHash": "sha256-yutWdFO7EkJGdQOquwHvyWZ+3KpPowzy+v1xb8IA/K4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "0420aa712f01b08b4d9f36b1a46b2f26c720aa80", "rev": "fedd0e287081c0e20a45fdf3bc0e1ecc6e9a0225",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -12,8 +12,6 @@
./plugins/mini.nix ./plugins/mini.nix
./plugins/neogit.nix ./plugins/neogit.nix
./plugins/oil.nix ./plugins/oil.nix
./plugins/supermaven.nix
./plugins/toggleterm.nix
./plugins/treesitter.nix ./plugins/treesitter.nix
]; ];

View File

@@ -75,6 +75,18 @@
action = ":Pick grep_live<CR>"; action = ":Pick grep_live<CR>";
options.desc = "Grep"; options.desc = "Grep";
} }
{
mode = "n";
key = "<leader>fm";
action = ":Pick git_hunks<CR>";
options.desc = "Modified hunks (all)";
}
{
mode = "n";
key = "<leader>fM";
action = ":Pick git_hunks path='%'<CR>";
options.desc = "Modified hunks (buffer)";
}
{ {
mode = "n"; mode = "n";
key = "<leader>fr"; key = "<leader>fr";
@@ -93,6 +105,18 @@
action = ":Pick lsp scope='document_symbol'<CR>"; action = ":Pick lsp scope='document_symbol'<CR>";
options.desc = "Symbols (LSP, buffer)"; options.desc = "Symbols (LSP, buffer)";
} }
{
mode = "n";
key = "<leader>fv";
action = ":Pick visit_paths cwd=\"\"<CR>";
options.desc = "Visit paths (all)";
}
{
mode = "n";
key = "<leader>fV";
action = ":Pick visit_paths<CR>";
options.desc = "Visit paths (cwd)";
}
# g - git # g - git
{ {
mode = "n"; mode = "n";

View File

@@ -1,13 +0,0 @@
{
programs.nixvim.plugins = {
supermaven = {
enable = true;
settings = {
keymaps = {
accept_suggestion = "<Tab>";
clear_suggestions = "<C-]>";
};
};
};
};
}

View File

@@ -1,20 +0,0 @@
{
programs.nixvim.plugins.toggleterm = {
enable = true;
settings = {
open_mapping = null;
direction = "float";
float_opts = {
border = "curved";
winblend = 3;
};
size = 20;
hide_numbers = true;
shade_terminals = true;
shading_factor = 2;
start_in_insert = true;
close_on_exit = true;
shell = "fish";
};
};
}