vim-quickui icon indicating copy to clipboard operation
vim-quickui copied to clipboard

How to custom quick search?

Open yaohunzhanyue opened this issue 4 years ago • 2 comments

I tried blow settings:

call quickui#menu#install('&Regex', [
			\ ['Search Colors', '/\v#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})', ''],
			\ ['Search 0~255', '/\v([1-2][0-5]{2}|[1-9][0-9]|[0-9])', '/\v([1-2][0-5]{2}|[1-9][0-9]|[0-9])'],
			\ ])

But can't use n or N to nevigate.

yaohunzhanyue avatar Apr 21 '20 04:04 yaohunzhanyue

put them in a function and call it from quickui

skywind3000 avatar Apr 21 '20 11:04 skywind3000

put them in a function and call it from quickui

@skywind3000 Tried that several times but failed. Could you please give me an example of a "replace menu"? That would help me a lot. Thanks.

yaohunzhanyue avatar May 17 '20 04:05 yaohunzhanyue