Example for adding a shortcut
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- tooling
Research direction
Start by reviewing the repository's existing plugin samples and the shortcut-related plugin interfaces. Define the expected behavior from the request, then verify that the example demonstrates a JavaScript action bound to a changeable keyboard shortcut; no file or test is named, so the repository structure must be established first.
Written by the indexing model from the issue text.
Description
Hi! I've been experimenting with a few knowledge bases and tried Logseq for a while. I'm currently on Trilium Notes.
Trilium Notes is very scriptable and allows users to bind keyboard shortcuts to their own JavaScript. I currently have one for "create issue", which creates a note with a particular template (basically to make it an issue for my simple in-Trillium issue tracker).
It would be probably also useful for writers of Logseq plugins to have an example of how to do this properly (especially given that logseq has changeable shortcuts).
- Dominant language
- CSS
- Stars
- 383
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from logseq/logseq-plugin-samples
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
logseq/logseq-plugin-samples#38 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
logseq/logseq-plugin-samples#40 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
logseq/logseq-plugin-samples#39 · 1 reaction ·
-
Difficulty 3/5 3-5 days Newbie friendliness 25/100
logseq/logseq-plugin-samples#37 · 1 comment ·
All issues in logseq/logseq-plugin-samples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hemilabs/ui-monorepo#2332 ·
-
Help-Wanted Needs-Triage Package-Update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/winget-pkgs#438662 ·
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·