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

@@ -13,7 +13,6 @@
./fish.nix
./fzf.nix
./git.nix
./lazygit.nix
./mise.nix
./neovim
./opencode.nix

View File

@@ -1,58 +0,0 @@
{
programs.lazygit = {
enable = true;
settings = {
git = {
paging = {
colorArg = "always";
pager = "DELTA_FEATURES=decorations delta --light --paging=never --line-numbers --hyperlinks --hyperlinks-file-link-format=\"lazygit-edit://{path}:{line}\"";
};
commit = {
signOff = true;
};
};
gui = {
theme = {
activeBorderColor = [
"#8839ef"
"bold"
];
inactiveBorderColor = [
"#6c6f85"
];
optionsTextColor = [
"#1e66f5"
];
selectedLineBgColor = [
"#ccd0da"
];
cherryPickedCommitBgColor = [
"#bcc0cc"
];
cherryPickedCommitFgColor = [
"#8839ef"
];
unstagedChangesColor = [
"#d20f39"
];
defaultFgColor = [
"#4c4f69"
];
searchingActiveBorderColor = [
"#df8e1d"
];
};
authorColors = {
"*" = "#7287fd";
};
};
};
};
home.shellAliases = {
lg = "lazygit";
};
}

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";
};
};
}