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

View File

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

View File

@@ -75,6 +75,18 @@
action = ":Pick grep_live<CR>";
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";
key = "<leader>fr";
@@ -93,6 +105,18 @@
action = ":Pick lsp scope='document_symbol'<CR>";
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
{
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";
};
};
}