Replies: 1 comment 2 replies
-
|
Hi! The suggested way of having custom ways to jump is to indeed create a mapping and use
That's not too bad and can be done relatively concisely. Here is what I am using right now in a wake of improving/rewriting 'mini.jump2d' (see #1818). I am fairly certain that those will be the new defaults ("single_character" variant as a default spotter). So as there is a rewrite planned, things will (hopefully) be both more configurable and require less configuration to be good :).
It is not that scary when you get to know it :) It is a mode that activates after you start an operator (action that requires a target), like by pressing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Thank you all mini contributors. I'm enjoying switching to this plugin's many modules one by one, and retiring some old, mostly unmaintained VimScript code. I'm having a great time!
Here is a humble suggestion that perhaps could help solve mini.jump2d's issue #354 even if partially (and also relates to #355).
I've basically wanted to configure my usage of the plugin like this:
Why? Well, on one hand, seemed more "tidy" and logical. On the other, I've seen that the plugin has this on its source:
So, mapping all the modes myself seemed a bit worse. I'm not sure also of the nuance of this things, as operator pending mode is usually a thing that scares me a bit. :-)
So, the above configuration doesn't work out of the box, but it does work by applying this small patch:
I think this should be backwards compatible, as it is just adding a new parameter that did not exist.
Thoughts?
Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions