home/git: gitui -> lazygit
This commit is contained in:
parent
1e550c33f6
commit
a896bb31a3
2 changed files with 14 additions and 17 deletions
|
@ -42,7 +42,7 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
gi = "gitui";
|
gi = "lazygit";
|
||||||
p = "powerprofilesctl";
|
p = "powerprofilesctl";
|
||||||
s = "nh os switch";
|
s = "nh os switch";
|
||||||
v = "nvim";
|
v = "nvim";
|
||||||
|
|
|
@ -19,21 +19,18 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gh.enable = true;
|
programs.gh.enable = true;
|
||||||
programs.gitui.enable = true;
|
|
||||||
|
|
||||||
# vim keybinds
|
programs.lazygit = {
|
||||||
# https://github.com/extrawurst/gitui/blob/master/KEY_CONFIG.md
|
enable = true;
|
||||||
programs.gitui.keyConfig = ''
|
settings = {
|
||||||
(
|
gui = {
|
||||||
move_left: Some(( code: Char('h'), modifiers: "")),
|
nerdFontsVersion = "3";
|
||||||
move_right: Some(( code: Char('l'), modifiers: "")),
|
showRandomTip = false;
|
||||||
move_up: Some(( code: Char('k'), modifiers: "")),
|
showBottomLine = false;
|
||||||
move_down: Some(( code: Char('j'), modifiers: "")),
|
};
|
||||||
|
git = {
|
||||||
stash_open: Some(( code: Char('l'), modifiers: "")),
|
paging.pager = "delta --paging=never";
|
||||||
open_help: Some(( code: F(1), modifiers: "")),
|
};
|
||||||
|
};
|
||||||
status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")),
|
};
|
||||||
)
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue