@@ -86,8 +86,12 @@ command = { fg = "blue", mods = "BOLD" }
8686active_arg = { fg = " light red" , mods = " BOLD" }
8787hotkey = { fg = " magenta" }
8888
89+ search_match = { bg = " yellow" , fg = " black" , mods = " BOLD" }
90+ current_search_match = { bg = " light yellow" , fg = " black" , mods = " BOLD" }
91+
8992[bindings ]
90- root.quit = [" q" , " esc" ]
93+ root.quit = [" q" ]
94+ root.cancel = [" esc" ]
9195root.refresh = [" g" ]
9296root.toggle_section = [" tab" ]
9397root.move_up = [" k" , " up" ]
@@ -99,6 +103,10 @@ root.move_next_section = ["alt+j", "alt+down"]
99103root.move_parent_section = [" alt+h" , " alt+left" ]
100104root.half_page_up = [" ctrl+u" ]
101105root.half_page_down = [" ctrl+d" ]
106+ root.search_forward = [" /" ]
107+ root.search_backward = [" ?" ]
108+ root.search_next = [" n" ]
109+ root.search_previous = [" N" ]
102110root.show_refs = [" Y" ]
103111root.show = [" enter" ]
104112root.discard = [" K" ]
@@ -107,14 +115,16 @@ root.unstage = ["u"]
107115root.copy_hash = [" y" ]
108116
109117root.help_menu = [" h" , " ?" ]
110- help_menu.quit = [" q" , " h" , " ?" , " esc" ]
118+ help_menu.quit = [" q" ]
119+ help_menu.cancel = [" h" , " ?" , " esc" ]
111120
112121root.branch_menu = [" b" ]
113122branch_menu.checkout = [" b" ]
114123branch_menu.checkout_new_branch = [" c" ]
115124branch_menu.spinoff = [" s" ]
116125branch_menu.delete = [" K" ]
117- branch_menu.quit = [" q" , " esc" ]
126+ branch_menu.quit = [" q" ]
127+ branch_menu.cancel = [" esc" ]
118128
119129root.commit_menu = [" c" ]
120130commit_menu.--all = [" -a" ]
@@ -128,19 +138,22 @@ commit_menu.commit_amend = ["a"]
128138commit_menu.commit_extend = [" e" ]
129139commit_menu.commit_fixup = [" f" ]
130140commit_menu.commit_instant_fixup = [" F" ]
131- commit_menu.quit = [" q" , " esc" ]
141+ commit_menu.quit = [" q" ]
142+ commit_menu.cancel = [" esc" ]
132143
133144root.fetch_menu = [" f" ]
134145fetch_menu.--prune = [" -p" ]
135146fetch_menu.--tags = [" -t" ]
136147fetch_menu.fetch_all = [" a" ]
137- fetch_menu.quit = [" q" , " esc" ]
148+ fetch_menu.quit = [" q" ]
149+ fetch_menu.cancel = [" esc" ]
138150fetch_menu.fetch_elsewhere = [" e" ]
139151
140152root.log_menu = [" l" ]
141153log_menu.log_current = [" l" ]
142154log_menu.log_other = [" o" ]
143- log_menu.quit = [" q" , " esc" ]
155+ log_menu.quit = [" q" ]
156+ log_menu.cancel = [" esc" ]
144157log_menu.-n = [" -n" ]
145158log_menu.--grep = [" -F" ]
146159
@@ -150,14 +163,16 @@ merge_menu.--no-ff = ["-n"]
150163merge_menu.merge_abort = [" a" ]
151164merge_menu.merge_continue = [" c" ]
152165merge_menu.merge = [" m" ]
153- merge_menu.quit = [" q" , " <esc>" ]
166+ merge_menu.quit = [" q" ]
167+ merge_menu.cancel = [" esc" ]
154168
155169root.pull_menu = [" F" ]
156170pull_menu.--rebase = [" -r" ]
157171pull_menu.pull_from_push_remote = [" p" ]
158172pull_menu.pull_from_upstream = [" u" ]
159173pull_menu.pull_from_elsewhere = [" e" ]
160- pull_menu.quit = [" q" , " esc" ]
174+ pull_menu.quit = [" q" ]
175+ pull_menu.cancel = [" esc" ]
161176
162177root.push_menu = [" P" ]
163178push_menu.--force-with-lease = [" -f" ]
@@ -167,7 +182,8 @@ push_menu.--dry-run = ["-n"]
167182push_menu.push_to_push_remote = [" p" ]
168183push_menu.push_to_upstream = [" u" ]
169184push_menu.push_to_elsewhere = [" e" ]
170- push_menu.quit = [" q" , " esc" ]
185+ push_menu.quit = [" q" ]
186+ push_menu.cancel = [" esc" ]
171187
172188root.rebase_menu = [" r" ]
173189rebase_menu.--keep-empty = [" -k" ]
@@ -182,19 +198,22 @@ rebase_menu.rebase_abort = ["a"]
182198rebase_menu.rebase_continue = [" c" ]
183199rebase_menu.rebase_elsewhere = [" e" ]
184200rebase_menu.rebase_autosquash = [" f" ]
185- rebase_menu.quit = [" q" , " esc" ]
201+ rebase_menu.quit = [" q" ]
202+ rebase_menu.cancel = [" esc" ]
186203
187204root.remote_menu =[" M" ]
188205remote_menu.add_remote =[" a" ]
189206remote_menu.remove_remote =[" K" ]
190207remote_menu.rename_remote =[" r" ]
191- remote_menu.quit = [" q" , " esc" ]
208+ remote_menu.quit = [" q" ]
209+ remote_menu.cancel = [" esc" ]
192210
193211root.reset_menu = [" X" ]
194212reset_menu.reset_soft = [" s" ]
195213reset_menu.reset_mixed = [" m" ]
196214reset_menu.reset_hard = [" h" ]
197- reset_menu.quit = [" q" , " esc" ]
215+ reset_menu.quit = [" q" ]
216+ reset_menu.cancel = [" esc" ]
198217
199218root.revert_menu = [" V" ]
200219revert_menu.--edit = [" -e" ]
@@ -203,7 +222,8 @@ revert_menu.--signoff = ["-s"]
203222revert_menu.revert_abort = [" a" ]
204223revert_menu.revert_continue = [" c" ]
205224revert_menu.revert_commit = [" V" ]
206- revert_menu.quit = [" q" , " esc" ]
225+ revert_menu.quit = [" q" ]
226+ revert_menu.cancel = [" esc" ]
207227
208228root.stash_menu = [" z" ]
209229stash_menu.--all = [" -a" ]
@@ -215,4 +235,5 @@ stash_menu.stash_keep_index = ["x"]
215235stash_menu.stash_pop = [" p" ]
216236stash_menu.stash_apply = [" a" ]
217237stash_menu.stash_drop = [" k" ]
218- stash_menu.quit = [" q" , " esc" ]
238+ stash_menu.quit = [" q" ]
239+ stash_menu.cancel = [" esc" ]
0 commit comments