Fast-forwarding to the next breakpoint with ] key

This commit is contained in:
Marcin Kulik
2023-04-27 16:50:23 +02:00
parent f2847409ee
commit 006d81d4da
4 changed files with 25 additions and 2 deletions

View File

@@ -381,6 +381,9 @@ Breakpoints can be added to a recording in several ways:
- for existing recording, by inserting breakpoint events (`"b"`) in the
asciicast file, see [breakpoint event](doc/asciicast-v2.md#b---breakpoint)
When replaying a recording with `asciinema play` you can fast-forward to the
next breakpoint by pressing `]` key (when paused).
Breakpoints can be useful in e.g. live demos: you can create a recording with
breakpoints, then play it back during presentation, and have it stop wherever
you want to explain terminal contents in more detail.
@@ -463,8 +466,12 @@ idle_time_limit = 1
pause_key = p
; Define hotkey for stepping through playback, a frame at a time,
; default: .
step_key = ]
; default: . (dot)
step_key = s
; Define hotkey for jumping to next breakpoint,
; default: ]
next_breakpoint_key = b
[notifications]
; Desktop notifications are displayed on certain occasions, e.g. when