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
|
||||
programs.gitui = {
|
||||
programs.lazygit = {
|
||||
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 = ''
|
||||
(
|
||||
move_left: Some(( code: Char('h'), modifiers: "")),
|
||||
|
|
|
@ -351,7 +351,6 @@ in {
|
|||
cdi = "broot";
|
||||
bd = "popd || cd ..";
|
||||
lf = "yazi";
|
||||
lazygit = "gitui";
|
||||
ps = "procs";
|
||||
du = "dust";
|
||||
df = "duf";
|
||||
|
|
Loading…
Reference in a new issue