randy3k / radian

A 21 century R console
MIT License
2k stars 76 forks source link

Use fzf for fuzzy history search #390

Open noamross opened 1 year ago

noamross commented 1 year ago

Would it be possible to set up radian to use fzf fuzzy search (https://github.com/junegunn/fzf) for history search directly?

Currently I can escape to shell with ;, run cat ~/radian_history | fzf, and search, but then it returns the result as an output in the shell, not at the shell prompt or R console.

Ideal implementation would allow an option() which, when turned on and fzf installed, to use fzf for Ctrl-r history search.

This is related to #147