From 06e09243e3e91a4cc2b7be684376afc431468fbb Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Tue, 11 Apr 2023 15:26:35 -0500 Subject: feat(gitui): add config --- .config/gitui/key_bindings.ron | 14 ++++++++++++++ .config/gitui/theme.ron | 23 +++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .config/gitui/key_bindings.ron create mode 100644 .config/gitui/theme.ron (limited to '.config/gitui') diff --git a/.config/gitui/key_bindings.ron b/.config/gitui/key_bindings.ron new file mode 100644 index 0000000..e575acc --- /dev/null +++ b/.config/gitui/key_bindings.ron @@ -0,0 +1,14 @@ +( + focus_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)), + focus_below: Some(( code: Char('j'), modifiers: ( bits: 0,),)), + focus_above: Some(( code: Char('k'), modifiers: ( bits: 0,),)), + focus_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)), + + move_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)), + move_down: Some(( code: Char('j'), modifiers: ( bits: 0,),)), + move_up: Some(( code: Char('k'), modifiers: ( bits: 0,),)), + move_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)), + + stash_open: Some(( code: Char('l'), modifiers: ( bits: 0,),)), + open_help: Some(( code: F(1), modifiers: ( bits: 0,),)), +) diff --git a/.config/gitui/theme.ron b/.config/gitui/theme.ron new file mode 100644 index 0000000..2bea0e2 --- /dev/null +++ b/.config/gitui/theme.ron @@ -0,0 +1,23 @@ +( + selected_tab: Reset, + command_fg: Rgb(202, 211, 245), + selection_bg: Rgb(91, 96, 120), + selection_fg: Rgb(202, 211, 245), + cmdbar_bg: Rgb(30, 32, 48), + cmdbar_extra_lines_bg: Rgb(30, 32, 48), + disabled_fg: Rgb(128, 135, 162), + diff_line_add: Rgb(166, 218, 149), + diff_line_delete: Rgb(237, 135, 150), + diff_file_added: Rgb(238, 212, 159), + diff_file_removed: Rgb(238, 153, 160), + diff_file_moved: Rgb(198, 160, 246), + diff_file_modified: Rgb(245, 169, 127), + commit_hash: Rgb(183, 189, 248), + commit_time: Rgb(184, 192, 224), + commit_author: Rgb(125, 196, 228), + danger_fg: Rgb(237, 135, 150), + push_gauge_bg: Rgb(138, 173, 244), + push_gauge_fg: Rgb(36, 39, 58), + tag_fg: Rgb(244, 219, 214), + branch_fg: Rgb(139, 213, 202) +) -- cgit v1.2.3