Feature Request: implement "clever-f-like" functionality
macintacos opened this issue · 3 comments
There's a plugin I use in Vim all the time called clever-f, and every time I come back to VSCode I miss it. I wonder if adding something like it here is something that fits with this project.
How I imagine it working is:
- Initiate metaJump, search for a character on-screen, hit "Enter".
- All the characters that match the character remain highlighted (until the user begins typing I guess, or hits "escape").
- Anything you hit "enter" until the mode is cancelled, the cursor moves to the next match on-screen.
Thoughts on implementing something like this?
intresting! let me have a look!
@macintacos I guest what you want is the command to repeat-forward and repeat-backward.
I'm planning to bind. alt+. two times(hold alt and press . 2 times) for repeat last search forward, and alt+, 2 times to repeat last search backword. it also works for the selection and deletes commands [how to define the backward/forward location? considered that the location could be defined by multiple chars]
additional I'm planning:
after the decorators showed on screen, the user could press alt+. or alt+, to navigate/select/delete by the location of the decorators, until the user press Esc or types the decorators on screen
Note: after decorators showed, the user could always continue typing chars to narrow down the searching range.
any suggestion?
still do not see value, after rethinking. if the user want to goto the location why not directly type the decorators on screen, but type several times to move backword/foreword to that location.
so would not implement this feature.
@macintacos there may some other use-case, I do not see, if there is, please let me know, I would open this issue for a while