I implemented a fuzzy filter, which
- accept a list argument,
- open a window with a scratch buffer whose content set to the list, then
- waiting for use input and do filtering.
Here is why I ask this question, in the key loop, I want
/was type, go into a pass through mode, just like
/was typed in normal mode, thus subsquent keys will do search, and move cursor of the scratch window, since
<C-m>was typed, return back to previous key loop mode.
Is there any way to achieve above effect? I tried define a Handler for
feedkeys('/'), but seems caused infinite recursion/loop, which bumps cpu usage to 24%.