mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,38 @@
|
||||
[metadata]
|
||||
name = "omp-sessions"
|
||||
description = """
|
||||
omp sessions of the current git repo, newest first: age, the branch HEAD was
|
||||
on when the session was last written, and the title. The preview is the
|
||||
conversation's message text; enter resumes the session, ctrl-n starts a new
|
||||
one instead. Listing, preview, resume and new live in ~/.local/bin/omp-session,
|
||||
whose launcher (ctrl-a in fish and zsh) opens this cable when it has no
|
||||
session to resume on the default branch.
|
||||
"""
|
||||
requirements = ["omp-session", "omp"]
|
||||
|
||||
# Record: display, session file (tab separated).
|
||||
[source]
|
||||
command = "omp-session --list"
|
||||
shell = "bash"
|
||||
display = "{split:\\t:0}"
|
||||
output = "{split:\\t:1}"
|
||||
|
||||
[preview]
|
||||
command = "omp-session --preview '{split:\\t:1}'"
|
||||
shell = "bash"
|
||||
|
||||
[keybindings]
|
||||
enter = "actions:resume"
|
||||
ctrl-n = "actions:new"
|
||||
|
||||
[actions.resume]
|
||||
description = "Resume the session"
|
||||
command = "omp-session --resume '{split:\\t:1}'"
|
||||
shell = "bash"
|
||||
mode = "execute"
|
||||
|
||||
[actions.new]
|
||||
description = "Start a new omp session"
|
||||
command = "omp-session --new"
|
||||
shell = "bash"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user