Plugin: Jot

Jot is quick capture for Joplin: a small form that creates a note or a to-do with its title, a line or two of text, the notebook, tags and the due date, and does not open it. You stay in the note you were reading. So you can quickly save the idea and do not loose track from the current note.

Before this plugin I should press New note/to-do - save it - then press back - it will bring me to the beginning of the previous note, so I lost the focus.
Jot exists to quickly create a new note or to-do and keep going with current note.

How to call it:

  • Tools › Jot…, with Ctrl+Shift+J as its shortcut (change it under Options › Keyboard Shortcuts).
  • Jot from the selection… in the editor's right-click menu. The first line of the highlighted text becomes the title. You choose whether the text is replaced with a link to the new note (the default), kept, or followed by a link.
  • Typing ++ at the start of a line or after a space in the Markdown editor. The trigger is a setting; empty turns it off. By default the ++ becomes a link to the new note, and one Undo restores it. It never fires inside a word, on a paste, or twice for the same occurrence.
  • The Jot button in the note toolbar.
  • Edit with Jot… in the note list's right-click menu: the same form prefilled with the note's title, type, notebook, tags and due date. Save writes only what you changed, and the note is never opened.

The pupup form

Type (to-do or note), Title, Text, Notebook, Tags and Due. The title is focused when the form opens, so a title and Enter is all a capture needs. Notebook and Tags filter a list as you type. The bell on the Due row unfolds the Cockpit date picker, the calendar, the time columns and the quick buttons. Create stays where you are; Create and open opens the note, in the editor or in a new window by setting.

Settings: what Jot creates by default, where Create and open opens the note, the typed trigger, the day start time, and whether the toolbar button is shown.

For other plugins: joplin.commands.execute('jot.open', { mode: 'new' | 'edit', ... }) opens the form with presets or in edit mode and resolves the created or edited note's id. Cockpit will use this next.

Install: Settings › Plugins › search for "Jot" once it is listed, or take the .jpl from Releases · pmslava/joplin-plugin-jot · GitHub and use Install from file.

Known limits of 0.1.1: nothing has been checked on Android yet; in the Rich Text editor the typed trigger does not work and "Add a link after it" is not offered; the trigger ignores Markdown context, so ++ after a space fires inside a code block too (cancel once and that occurrence is left alone).

Source and issues: GitHub - pmslava/joplin-plugin-jot: Quick capture of a note or to-do without leaving the one you are in. A Joplin plugin. · GitHub . The idea of a note from highlighted text comes from Convert Text To New Note by ambrt; the capture use case came from a request in the Cockpit thread. MIT.

Thank you for this plugin, it fills a niche I was unaware I even needed! I dropped a few issues over on the Github.

Two of them are features that I use in the mentioned "Convert Text To New Note" plugin, and would enable me to have one less (duplicate) plugin installed.

The third is a QoL feature, and would give an option for a "default" notebook when Jot is created from the toolbar/keyboard shortcut.

Yes, I saw. GitHub issues reaches me faster than social mentions :slightly_smiling_face:

Good suggestions, in a process of implementing...

Everything is ready. Hope you like it :slightly_smiling_face:

Awesome, thank you so very much!

@pmslava ,Hi! I’m here again. Thank you for your timely updates – now it works well. During use, I found some suggestions for improvement that you might find useful:

  1. When selecting a task type, automatically add a default reminder time: current real-time time + 1 hour (or a custom delay):

    • This should be an option in the settings.
  2. Customize the default tags to be added:

    • Add a custom default tag option in the settings; initially leave it empty (no tags are added by default). The tags can come from Joplin’s native tags (usually no ability to create new tags; only existing tags can be selected).
    • I noticed that the plugin currently supports retrieving tags from the notes currently open. This is a great feature – it allows custom tags (if any exist) to be combined with the notes’ own tags (when the automatic filling function is enabled) as the default values. Just make sure any potential duplicates are handled properly.
  3. Quick Back link addition for Typed trigger:

    • After entering ++, instead of immediately showing the new form, enter some text (the title of the note you want to query or create), then search to display the notes in the note library. A list will appear below; after selecting a note, it will be immediately replaced by a link, and a backlink will be added to that note (using the currently supported Backlink function).
    • If you long-press on a note in the list or select it using the arrow keys and press a specific key, an editing window will open.
    • When ++ is entered, options for creating new todo or note items will appear immediately below. After entering text, the displayed text will be added right above the query list.
    • I know there are other plugins that offer this functionality (and they’re good), but they don’t work together properly. It creates a fragmented user experience. I see that this plugin supports the backlink feature; if it could be implemented, we wouldn’t need to install another duplicate plugin.
    • Initially, I thought of using the note title field for querying, but it seems more appropriate to integrate it with Typed trigger.
    • It can also be set as an option.

These changes are just to make Jot more useful. However, I’m worried that they might make the plugin too complex and cumbersome, which would be inconvenient for your development and usage. So you can choose what to implement. I hope it doesn’t cause any problems. Thank you very much!

Hi @xiaofeng, thank you for using Jot so closely and for the detailed ideas! I thought about all three. I want Jot to stay a small, quick form, so I'll leave them out. Here is how to get close with what Jot already has.

1. A default reminder. It is already two taps: the bell on the Due row, then Today. Today sets the reminder to the next full hour plus one, so one to two hours from now (at 14:36 you get 16:00). Each +hour adds one more hour. Tomorrow, Weekends and Next Monday pick that day at the same time. I prefer that a to-do gets a reminder only when you ask for one.

2. Default tags. I'd rather not add more tag rules to a quick form. Two things already help:

  • The Tags field suggests your existing tags as you type, so a few letters and Enter add one.
  • The setting "Fill in the tags of the note you are in" (Never, For notes from text in a note, Always) starts the form with the tags of the note you are reading.

3. Searching notes after ++. This would make the trigger much harder to understand, and other plugins already do it well. For example, with Quick Links you type @@ and pick an existing note. The two work side by side: @@ links a note that exists, ++ creates a new one. For new notes, the back link is already there. Choose Add on the form's Back link row, or set "Add a back link to the note you are in" in Jot's settings. The new note then gets a link to the note you came from.

Thanks again! If something in Jot doesn't work as described here, please tell me here or on GitHub.

I understand. I fully agree with your approach. When considering these usage requirements, I can sense that this will make the plugin bulky and difficult to use. Sometimes I also feel that it's overdesign, especially the third point. This result is the outcome of our discussion. We can all accept it. Thank you!