obsidian-jump-to-link
obsidian-jump-to-link copied to clipboard
Lightspeed jump: restrict to current line and auto jump
Thanks for this handy plugin! I have a small FR. Can I jump to a word on the current line? Now, it searches through the entire note, but sometimes you just want to jump to somewhere on the line.
Also, when there is only one candidate location, can it auto-jump to it? I think this will further increase the efficiency :)
^^ I think being able to autojump to the first match would be awesome!!
Also, did you enable integration with the actual neo-vim lightspeed plugin itself, or did you implement your own jump anywhere logic and called it lightspeed because it's similar?
I'm asking because if you actually implemented lightspeed, I would think there would be a lot of configuration options for lightspeed that would be interesting to be able to modify. If that is possible, where is the config file, and would editing it screw up the behavior of the plugin?
If you have implemented the actual lightspeed plugin, and it is possible to edit the lightspeed config (even if just by directly editing the source code since it's not available in settings), and if doing so won't break the plugin, I bet we could probably get the "jump to match if there's only one left" functionality just by changing the lightspeed config. I would assume that that's probably already been implemented.
Anyway, sorry for all the questions and thanks in advance!
@danrthompson
Hi!
There is no integration with neovim plugin. It started as a quick way to open links using keyboard. And on top of that was born another "jump to" functionality.
Jump to anywhere and lightspeed functionally was added by community. And naming came with PR as well.
So there is not much configurations. And while jump to first match looks like a simple request it might be implemented.
Let's hope someone will push a PR or I'll find time to implement it.