commit 1be4947a5c2d3f42e8dda37929997907d116b746 from: Mark Jamsek via: Thomas Adam date: Fri Jul 22 20:11:58 2022 UTC tog: uppercase alpha key maps that open new views ok stsp@ commit - 94ecf40da5315d7cb59ff90ac23614ac0f2a4f3a commit + 1be4947a5c2d3f42e8dda37929997907d116b746 blob - f73c13e4ee7be77816a5e17af55d718bc8289519 blob + c09dbe11bb6e0224ed0138a35da047947c82f41d --- tog/tog.1 +++ tog/tog.1 @@ -162,7 +162,7 @@ or Open a .Cm diff view showing file changes made in the currently selected commit. -.It Cm t +.It Cm T Open a .Cm tree view showing the tree for the currently selected commit. @@ -207,7 +207,7 @@ view and toggle display of merged commits. The .Fl b option determines whether merged commits are displayed initially. -.It Cm r +.It Cm R Open a .Cm ref view listing all references in the repository. @@ -487,11 +487,11 @@ Move the selection cursor to the last entry. Enter the currently selected directory, or switch to the .Cm blame view for the currently selected file. -.It Cm l +.It Cm L Open a .Cm log view for the currently selected tree entry. -.It Cm r +.It Cm R Open a .Cm ref view listing all references in the repository. @@ -564,7 +564,7 @@ Open a .Cm log view which begins traversing history at the commit resolved via the currently selected reference. -.It Cm t +.It Cm T Open a .Cm tree view showing the tree resolved via the currently selected reference. blob - 06aad618830add03488ae888b97e8bc1b4217d19 blob + af8d01cf74fea3535ae1bbeaf7f60b283cee209e --- tog/tog.c +++ tog/tog.c @@ -3369,7 +3369,7 @@ input_log_view(struct tog_view **new_view, struct tog_ } else *new_view = diff_view; break; - case 't': + case 'T': view->count = 0; if (s->selected_entry == NULL) break; @@ -3467,7 +3467,7 @@ input_log_view(struct tog_view **new_view, struct tog_ s->search_entry = NULL; view->offset = 0; break; - case 'r': + case 'R': view->count = 0; if (view_is_parent_view(view)) view_get_split(view, &begin_y, &begin_x); @@ -6796,7 +6796,7 @@ input_tree_view(struct tog_view **new_view, struct tog s->show_ids = !s->show_ids; view->count = 0; break; - case 'l': + case 'L': view->count = 0; if (!s->selected_entry) break; @@ -6825,7 +6825,7 @@ input_tree_view(struct tog_view **new_view, struct tog } else *new_view = log_view; break; - case 'r': + case 'R': view->count = 0; if (view_is_parent_view(view)) view_get_split(view, &begin_y, &begin_x); @@ -7793,7 +7793,7 @@ input_ref_view(struct tog_view **new_view, struct tog_ } else *new_view = log_view; break; - case 't': + case 'T': view->count = 0; if (!s->selected_entry) break;