mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #343] Key bindings for rec and play commands #221
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ku1ik on GitHub (Mar 30, 2019).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/343
As mentioned in #340, #341, #324 the need for several key bindings emerged.
So far we only used space (pause/resume) and . (step 1 frame forward) for
asciinema play.#340 and #341 brough a need for key bindings for
asciinema rec. At the moment toggling recording pause is hard-coded to ctrl+p ("p" for "pause capture"), and adding a breakpoint is hard-coded to ctrl+b ("b" for breakpoint).It is very likely that the both ctrp-p and ctrl-b will conflict with many interactive applications (e.g. vim), so we should either find better, rarely used alternatives, or go with a prefix + key combo (like ctrl+a in screen, ctrl+b in tmux).
I don't believe we'll find a default that will work equally well for everyone, so there should be a way to customize the key bindings (for both
asciinema playandasciinema rec) via configuration file.themeentry in asciicast v2 #419themeentry in asciicast v2 #1032