acejump / AceJump

🅰️ single character search, select, and jump
https://plugins.jetbrains.com/plugin/7086-acejump
GNU General Public License v3.0
1.21k stars 91 forks source link

Suggestion: jump to the nearest (forward/backward) matching character #428

Closed ofca closed 9 months ago

ofca commented 1 year ago

Is your feature request related to a problem? Please describe. I would like to have the ability to jump to the nearest (forward/backward) matching character.

Describe the solution you'd like There are two solutions.

Solution One.

Solution Two.

Describe alternatives you've considered

Additional context I would like to use AceJump blindly without looking at what characters I must type to move the cursor. I often use AceJump to just jump to the next ,, or } or closing ). In those situations I don't care how many matching places in the code were found, I just want to move my cursor to the nearest one.

breandan commented 1 year ago

Hi @ofca, thanks for using AceJump and your feature request. A similar feature was previously requested in #299 and is currently supported. You should be able to use Enter/Shift+Enter to cycle forwards and backwards through individual search results and Tab/Shift+Tab to scroll forwards and backwards to the next and previous group of results. Does this not work for you? Another solution is to use something like IdeaVim-EasyMotion. Have you tried it and does it support the use-case you had in mind?