commit 5e98fb339b4588f8e07c12b9f9ace9dbdcc47592 from: Mark Jamsek date: Fri Jul 22 14:20:07 2022 UTC tog: uppercase alpha key maps that open new views ok stsp@ commit - 01a7bcaf15198d23a77acc28899c3c206cdc5001 commit + 5e98fb339b4588f8e07c12b9f9ace9dbdcc47592 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 - 85d6ece2bdf16f8f138c5ac9a4d44f8e4cdd04f7 blob + 28101ce09b8c4dc44f69a65468af96ea5b319471 --- tog/tog.c +++ tog/tog.c @@ -3364,7 +3364,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; @@ -3462,7 +3462,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); @@ -6791,7 +6791,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; @@ -6820,7 +6820,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); @@ -7788,7 +7788,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;