I need a method to quickly jump to a designated note but the [Favorites] and [Home Note] plugins are almost but not exactly what I am looking for. So I create the [Quick Goto] plugin to serve my needs and maybe other as well.
Basically, this plugin creates several keyboard shortcuts slots that you can assign to notes so you can jump to the notes from anywhere by pressing the hotkey like CmdOrCtrl+1.
The [Quick Goto] menu should be put in [Go] menu but I don't know if that's possible or not so I put them in [Tools] for now.
I personally suggest that you can implement a function to pop up a list, display the recently opened or modified notes, and be able to use the search box to filter, like
That sounds like a nice feature to have natively with Joplin Goto Anything... function. But for my use case I only need to hotkey to open a specific note as I keep coming back to it.
Thanks! It's great! I'm a huge fan of keyboard shortcuts in general, and I have several notes that I work on often, so this is definitely a time saver.
It's a good idea and it can be useful but the combination Ctrl+digit is not optimal for all keyboards because some need to do shift+digit to type a number. It seems that this shortcut ctrl+shift+1 does not work.
I am using Joplin on macOS so I cannot confirm the behavior on other platform. Fortunately, the shortcuts can be customized so people can easily change it to their specific situations.
New version is available with options to Assign note silently and keyboard shortcut for Assign so you can use Quick Goto plugin as some kind of headless Note Tab if you want to.
It also supports jump to a specific hash (header) of note but there is no GUI at the moment so you have to open setting and write the hash yourself.
Quick Goto v1.2.0 is available. The assign command now able to anchor to the nearest heading instead of just note. This means that you can assign shortcuts to different parts of the same note and jump between those position.
The next major update will add the ability to anchor to the exact line of the cursor by adding a bookmark which will essentially make this plugin Quick Bookmark too.
But as I am quite contented with the current heading logic, the bookmark feature is not very high in my priority list at the moment.
Developer note:Is there a simple way to get current cursor position with the current plugin system. It seems quite trivial, but I have to use contentscript and some callback hack just to get the cursor's position.
But it always returns undefined. I checked CodeMirror - Command and getCursor is not "native" function of CM object but adopted from Doc object. I haven't used javascript for quite some time now, just wing it to develop these plugins.
I can't work out a pattern for when this occurs, but it's almost always at least once daily I need to reattach the shortcut using ctrl+alt+1.
Let me know if i can offer any other information; i use this plugin all the time and - in the nicest way possible - I normally can forget it's there, it just works.
I can think of two instances where this happen which I experienced them myself. So if you experienced it again you can test if it one of the following.
If Joplin was just opened or in the process of syncing/decrypting, you will encounter this message. I regularly have this problem when I just open Joplin then use the shortcut immediately. If you encountered this problem again, just pressed cancel wait for 1~2minutes then press the shortcut again. If it works the second time then your problem is this scenario. There is no need to fix this issue just need to wait to a little bit.
Check if you have any notes in Conflict. This will create two ids which may be the cause for the plugin error. You need to resolve your conflict to fix this scenario.
If neither of those fixed your problem then we need more information to know which is the cause,