This commit is contained in:
2025-09-10 10:36:04 +00:00
parent 2c5ec3858c
commit a823e6a325
5 changed files with 32 additions and 59 deletions

View File

@@ -11,6 +11,7 @@
./plugins/mini.nix
./plugins/supermaven.nix
./plugins/oil.nix
./plugins/toggleterm.nix
./plugins/treesitter.nix
];

View File

@@ -86,6 +86,17 @@
action = ":Pick lsp scope='document_symbol'<CR>";
options.desc = "Symbols (LSP, buffer)";
}
# g - git
{
mode = "n";
key = "<leader>gg";
action.__raw = ''
function()
require('toggleterm.terminal').Terminal:new({ cmd = 'jjui', direction = 'float' }):toggle()
end
'';
options.desc = "jjui";
}
# l - lsp/formatter
{
mode = "n";

View File

@@ -0,0 +1,20 @@
{
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";
};
};
}