Commit Briefs


Mark Jamsek

tog: add C-g/backspace key map to abort compound cmds

Problem reported by stsp: 9999j would tie up tog till completed. While here, trim trailing whitespace in tog.1 and make C-g alias existing backspace abort key map for search and G in log view. ok op@ and stsp@


Mark Jamsek

tog: remove count prefix timeout and bold output

Suggested by naddy. block till non-numeric input is entered, and don't echo in bold. ok naddy@ op@ and stsp@


Stefan Sperling

make the diff algorithm used by 'tog diff' and 'tog blame' configurable

ok jamsek


Mark Jamsek

tog: prefix mvmt keymaps with count modifier like vi(1)

Enable compound commands for all movement keymaps (e.g., hjkl, bfdu). The optional prefixed count determines how many times the movement is performed; for example, '123j' (move 123 lines down) or '4f' (scroll 4 pages down). Counts are ignored if preceding non-movement and some singular movement operations (e.g., 't', 'r', 'ret', '/', '$', 'G', 'g'). ok stsp@


Christian Weisgerber

tog: make SPACE page down in all views

ok op@, Mark Jamsek


Mark Jamsek

alias C-b/C-f to scroll page back/forward with b/f

Suggested by naddy. Remap 'f'ullscreen to 'F', and blame view key maps 'b' and 'B' to 'c' and 'C', respectively, per stsp's and naddy's suggestion. While here, remove trailing whitespace. ok naddy@


Mark Jamsek

add missing linebreaks to demarcate sentences in tog.1

ok op@


Stefan Sperling

show last-modified date in the "tog ref" view if the 'm' key is pressed

Patch by Mark Jamsek


Stefan Sperling

implement horizontal scrolling for tog diff, blame, and log views

Patch by Mark Jamsek


Stefan Sperling

re-add u/d keybindings as aliases for Ctrl-u/d, matching more(1) and less(1)

patch by Mikhail


Stefan Sperling

in tog, rework Ctrl+u/d to scroll by half a page, and drop d/u again

This matches actual behaviour of less(1) for Ctrl+u/d, and leaves d/u free for potential future use. Suggested by naddy. Patch by Mark Jamsek




Stefan Sperling

show rebase and histedit backups in tog ref view

ok naddy


Stefan Sperling

switch tog ref view's sort order command key to "o" instead of "s"

The letter "o" does not overlap with existing options of 'got ref' and is also used by mutt(1) for this purpose.




Christian Weisgerber

tog: add support for navigating to first/last line of tree and ref views

ok stsp


Christian Weisgerber

tog: add support for navigating to first/last line of blame view

ok tracey stsp




Jasper Lievisse Adriaanse

sync tog.1 after fb280deb with respect to the Backspace key description

ok stsp



Stefan Sperling

remove the 'ctrl+u' shortcut in favour of just 'g' as alias for 'Home'

Our use of ctrl+u was not consistent with vi(1) after all. Discussed with naddy, tb, and jasper on gameoftrees@