up
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
./plugins/mini.nix
|
||||
./plugins/neogit.nix
|
||||
./plugins/oil.nix
|
||||
./plugins/supermaven.nix
|
||||
./plugins/toggleterm.nix
|
||||
./plugins/treesitter.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
programs.nixvim.plugins = {
|
||||
supermaven = {
|
||||
enable = true;
|
||||
settings = {
|
||||
keymaps = {
|
||||
accept_suggestion = "<Tab>";
|
||||
clear_suggestions = "<C-]>";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user