blob: 855a985a731983e3f51324974bb2996aed84b12a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
{ config, lib, pkgs, ... }:
let
cfg = config.modules.lazygit;
in
{
options.modules.lazygit = {
enable = lib.mkEnableOption "lazygit";
};
config = lib.mkIf cfg.enable {
programs.lazygit = {
enable = true;
settings = {
keybinding = {
universal = {
"prevItem-alt" = "e";
"nextItem-alt" = "n";
"prevBlock-alt" = "m";
"nextBlock-alt" = "i";
"scollUpMain-alt1" = "E";
"scollDownMain-alt1" = "N";
nextMatch = "j";
prevMatch = "J";
new = "j";
edit = "k";
createRebaseOptionsMenu = "h";
};
files = {
ignoreFile = "l";
};
branches = {
viewGitFlowOptions = "l";
};
commits = {
startInteractiveRebase = "u";
};
};
gui= {
notARepository = "skip";
mouseEvents = false;
showRandomTip = false;
border = "hidden";
theme = {
# activeBorderColor = [ "#8f8aac" "bold" ];
activeBorderColor = [ "#8f8aac" "bold" ];
inactiveBorderColor = [ "#4c4c4c" ];
searchingActiveBorderColor = [ "#ceb188" ];
optionsTextColor = [ "#8f8aac" ];
selectedLineBgColor = [ "#262626" ];
cherryPickedCommitBgColor = [ "#4c4c4c" ];
cherryPickedCommitFgColor = [ "#8f8aac" ];
markedBaseCommitFgColor = [ "#8f8aac" ];
unstagedChangesColor = [ "#ac8a8c" ];
defaultFgColor = [ "#cacaca" ];
};
git = {
paging.useConfig = true;
parseEmoji = true;
};
};
};
};
};
}
|