replace gitui with lazygit
This commit is contained in:
parent
619d43f541
commit
9623d02b11
2 changed files with 21 additions and 2 deletions
|
@ -39,8 +39,28 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# git
|
# git
|
||||||
programs.gitui = {
|
programs.lazygit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
gui = {
|
||||||
|
showIcons = true;
|
||||||
|
showFileTree = true;
|
||||||
|
theme = {
|
||||||
|
activeBorderColor = [ "magenta" "bold" ];
|
||||||
|
inactiveBorderColor = [ "black" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
os = {
|
||||||
|
editCommand = "nvim";
|
||||||
|
editCommandTemplate = "{{editor}} {{filename}}";
|
||||||
|
};
|
||||||
|
keybinding.universal = {
|
||||||
|
quit = "q";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
programs.gitui = {
|
||||||
|
enable = false;
|
||||||
keyConfig = ''
|
keyConfig = ''
|
||||||
(
|
(
|
||||||
move_left: Some(( code: Char('h'), modifiers: "")),
|
move_left: Some(( code: Char('h'), modifiers: "")),
|
||||||
|
|
|
@ -351,7 +351,6 @@ in {
|
||||||
cdi = "broot";
|
cdi = "broot";
|
||||||
bd = "popd || cd ..";
|
bd = "popd || cd ..";
|
||||||
lf = "yazi";
|
lf = "yazi";
|
||||||
lazygit = "gitui";
|
|
||||||
ps = "procs";
|
ps = "procs";
|
||||||
du = "dust";
|
du = "dust";
|
||||||
df = "duf";
|
df = "duf";
|
||||||
|
|
Loading…
Reference in a new issue