summaryrefslogtreecommitdiff
path: root/.config/gitui
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2023-04-11 15:26:35 -0500
committerSam Nystrom <sam@samnystrom.dev>2023-04-11 15:26:35 -0500
commit06e09243e3e91a4cc2b7be684376afc431468fbb (patch)
tree35a685c5af3f82a27b293550f6f46a6287247b0d /.config/gitui
parent57a84b9fa794749a7e127de11237a178870d5fcf (diff)
feat(gitui): add config
Diffstat (limited to '.config/gitui')
-rw-r--r--.config/gitui/key_bindings.ron14
-rw-r--r--.config/gitui/theme.ron23
2 files changed, 37 insertions, 0 deletions
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)
+)