add: gitui

This commit is contained in:
valerie 2024-08-22 18:49:28 -04:00
parent 453d382dab
commit ce8c816ca7
Signed by: valnyx
GPG key ID: CC10324DD962CB7E

View file

@ -1,4 +1,20 @@
{pkgs, ...}: { {pkgs, ...}: {
programs.gitui = {
enable = true;
keyConfig = ''
(
move_left: Some(( code: Char('h'), modifiers: "")),
move_right: Some(( code: Char('l'), modifiers: "")),
move_up: Some(( code: Char('k'), modifiers: "")),
move_down: Some(( code: Char('j'), modifiers: "")),
stash_open: Some(( code: Char('l'), modifiers: "")),
open_help: Some(( code: F(1), modifiers: "")),
status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")),
)
'';
};
programs.git = { programs.git = {
enable = true; enable = true;
package = pkgs.gitAndTools.gitFull; package = pkgs.gitAndTools.gitFull;