KristofferC/OhMyREPL.jl

fzf + unicode autocompletion

haakon-e opened this issue · 2 comments

I recently discovered this package, and so far I'm really enjoying the new REPL experience, so thanks!

A small question (I wasn't able to find relevant opened or closed issues). If I'm in fzf search mode and would like to search for expressions containing (e.g.) the unicode character for omega (ω); what is the correct way to do this?
While in search mode, if I type \omega [TAB], instead of converting to ω, I select a line (correctly so, according to the docs). Is there any combination of keys I can press (e.g. CTRL+TAB, ...) which would instead autocomplete that unicode character?

Thanks!

(ps: of course, I can copy ω from REPL mode and paste it in during fzf-mode, but that's rather cumbersome, imo)

Moelf commented

the way it works is when you trigger fuzzy search, we simply send new-line separate text file to fzf and subsequent interaction are not inside Julia at all, which is why things like \omega [TAB] doesn't work -- fzf is handling your stdin input at that point

I see, thanks for your response. The benefits of fzf so far outdo this quirk for me, but I thought I'd put up the issue for others to be aware and perhaps someone finds some neat workarounds in the future..!