mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
chore(config): update leetcode stats and add new omp session shortcut
This commit is contained in:
1 parent
2196c6983f
commit
cc29237c0c
3 files changed
+14
-6
No files matched your search
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"totalAccepted": 50,
|
"totalAccepted": 53,
|
||||||
"shownMilestones": [
|
"shownMilestones": [
|
||||||
10,
|
10,
|
||||||
20
|
20
|
||||||
],
|
],
|
||||||
"submissionsSinceLastPrompt": 33,
|
"submissionsSinceLastPrompt": 36,
|
||||||
"windowStartedAt": 1790356839288,
|
"windowStartedAt": 1790356839288,
|
||||||
"lastShownAt": 1790359187702,
|
"lastShownAt": 1790359187702,
|
||||||
"dismissed": true
|
"dismissed": true
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"lastCheck": 1791213600416,
|
"lastCheck": 1791305258504,
|
||||||
"latestVersion": "3.5.2",
|
"latestVersion": "3.5.2",
|
||||||
"hasBreakingChanges": false
|
"hasBreakingChanges": false
|
||||||
}
|
}
|
||||||
@@ -3,9 +3,10 @@ name = "omp-sessions"
|
|||||||
description = """
|
description = """
|
||||||
omp sessions of the current git repo, newest first: age, the branch HEAD was
|
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
|
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
|
conversation's message text; enter resumes the session, ctrl-n starts a new
|
||||||
resume live in ~/.local/bin/omp-session, whose launcher (ctrl-a in fish and
|
one instead. Listing, preview, resume and new live in ~/.local/bin/omp-session,
|
||||||
zsh) opens this cable when it has no session to resume on the default branch.
|
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"]
|
requirements = ["omp-session", "omp"]
|
||||||
|
|
||||||
@@ -22,9 +23,16 @@ shell = "bash"
|
|||||||
|
|
||||||
[keybindings]
|
[keybindings]
|
||||||
enter = "actions:resume"
|
enter = "actions:resume"
|
||||||
|
ctrl-n = "actions:new"
|
||||||
|
|
||||||
[actions.resume]
|
[actions.resume]
|
||||||
description = "Resume the session"
|
description = "Resume the session"
|
||||||
command = "omp-session --resume '{split:\\t:1}'"
|
command = "omp-session --resume '{split:\\t:1}'"
|
||||||
shell = "bash"
|
shell = "bash"
|
||||||
mode = "execute"
|
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