Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fzf + unicode autocompletion #331

Open
haakon-e opened this issue Sep 19, 2023 · 2 comments
Open

fzf + unicode autocompletion #331

haakon-e opened this issue Sep 19, 2023 · 2 comments

Comments

@haakon-e
Copy link

haakon-e commented Sep 19, 2023

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
Copy link
Contributor

Moelf commented Sep 20, 2023

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

@haakon-e
Copy link
Author

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..!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants