chore(config): update leetcode stats and add new omp session shortcut

This commit is contained in:
Prad Nukala committed 2026-10-07 12:48:48 -04:00
1 parent 2196c6983f
commit cc29237c0c
3 files changed
+14 -6

No files matched your search

+11 -3
View File
@@ -3,9 +3,10 @@ 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. Listing, preview and
resume 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.
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"]
@@ -22,9 +23,16 @@ 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"