vimium-c icon indicating copy to clipboard operation
vimium-c copied to clipboard

any way to achieve labeled all match words to select like linkhints in findmode?

Open postcypunk opened this issue 2 years ago • 1 comments

``what i want to final achive is kind like leap.nvim for example

int var1
int var2

when i type / + "var"

int var[s]
int var[b]

then s will land my cursor on var1

but last time i checked linkhints only filter CSS not actual text content,and cant change filter on fly.

and is there a direct comand to enter caret mode? i want search start at visable part of page, so i always type vc/ i tired

map s runKey keys="v,c,/"
map s enterVisualMode caret

no luck

postcypunk avatar May 23 '23 11:05 postcypunk

Sorry I may not understand all of your comment successfully.

If you want to switch selection among multiple matches, you may use Ctrl+J / Ctrl+K when the Find HUD is focused; and, Ctrl+Shift+J/K will highlight up to 20 near matches.

In FindMode, there's no hints to let users select a match.

map s enterVisualMode caret is suggested, and then s/ may help.

You may also use LinkHints.activateModeToSelect to select a sentence and auto enter VisualMode.

gdh1995 avatar May 25 '23 14:05 gdh1995