forked from altsem/gitu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault_config.toml
119 lines (99 loc) · 3.06 KB
/
default_config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# This file contains Gitu's default configuration.
# It is possible to override settings with an equivalent file at:
# `~/.config/gitu/config.toml`
[general]
confirm_quit.enabled = false
[style]
# fg / bg can be either of:
# - a hex value: "#707070"
# - an ansi color name: "light blue"
# - an ansi color index: "255"
# - "reset" will set the terminal's default foreground / background color.
# 'mods' can be any combination of (multiple values separated by '|'):
# "BOLD|DIM|ITALIC|UNDERLINED|SLOW_BLINK|RAPID_BLINK|REVERSED|HIDDEN|CROSSED_OUT"
# Example style config values:
# section_header.fg = "#808080"
# section_header.bg = "light green"
# section_header.mods = "UNDERLINED|ITALIC"
section_header.fg = "yellow"
file_header.fg = "magenta"
hunk_header.fg = "blue"
line_added.fg = "green"
line_removed.fg = "red"
line_highlight.changed.mods = "BOLD"
line_highlight.unchanged.mods = "DIM"
cursor.fg = "blue"
selection_bar.fg = "blue"
selection_bar.mods = "DIM"
selection_line.mods = "BOLD"
# You may want to set `selection_area.bg` to a nice background color.
# Looks horrible with regular terminal colors, so is therefore not set.
selection_area.bg = "reset"
hash.fg = "yellow"
branch.fg = "green"
remote.fg = "red"
tag.fg = "yellow"
command.fg = "blue"
command.mods = "BOLD"
hotkey.fg = "magenta"
[bindings]
root.quit = ["q", "<esc>"]
root.refresh = ["g"]
root.toggle_section = ["<tab>"]
root.move_up = ["k", "<up>"]
root.move_down = ["j", "<down>"]
root.move_up_line = ["<ctrl+k>", "<ctrl+up>"]
root.move_down_line = ["<ctrl+j>", "<ctrl+down>"]
root.half_page_up = ["<ctrl+u>"]
root.half_page_down = ["<ctrl+d>"]
root.show_refs = ["y"]
root.show = ["<enter>"]
root.discard = ["K"]
root.stage = ["s"]
root.unstage = ["u"]
root.help_menu = ["h"]
help_menu.quit = ["q", "<esc>"]
root.branch_menu = ["b"]
branch_menu.checkout = ["b"]
branch_menu.checkout_new_branch = ["c"]
branch_menu.quit = ["q", "<esc>"]
root.commit_menu = ["c"]
commit_menu.commit = ["c"]
commit_menu.commit_amend = ["a"]
commit_menu.commit_fixup = ["f"]
commit_menu.quit = ["q", "<esc>"]
root.fetch_menu = ["f"]
fetch_menu.fetch_all = ["a"]
fetch_menu.quit = ["q", "<esc>"]
root.log_menu = ["l"]
log_menu.log_current = ["l"]
log_menu.log_other = ["o"]
log_menu.quit = ["q", "<esc>"]
root.pull_menu = ["F"]
pull_menu.pull = ["p"]
pull_menu.quit = ["q", "<esc>"]
root.push_menu = ["P"]
push_menu.--force-with-lease = ["-f"]
push_menu.push = ["p"]
push_menu.quit = ["q", "<esc>"]
root.rebase_menu = ["r"]
rebase_menu.rebase_interactive = ["i"]
rebase_menu.rebase_abort = ["a"]
rebase_menu.rebase_continue = ["c"]
rebase_menu.rebase_elsewhere = ["e"]
rebase_menu.rebase_autosquash = ["f"]
rebase_menu.quit = ["q", "<esc>"]
root.reset_menu = ["X"]
reset_menu.reset_soft = ["s"]
reset_menu.reset_mixed = ["m"]
reset_menu.reset_hard = ["h"]
reset_menu.quit = ["q", "<esc>"]
root.stash_menu = ["z"]
stash_menu.stash = ["z"]
stash_menu.stash_index = ["i"]
stash_menu.stash_worktree = ["w"]
stash_menu.stash_keep_index = ["x"]
stash_menu.stash_pop = ["p"]
stash_menu.stash_apply = ["a"]
stash_menu.stash_drop = ["k"]
stash_menu.quit = ["q", "<esc>"]