Skip to content

Make fzf search available from other repl modes#319

Open
jonniediegelman wants to merge 1 commit into
KristofferC:masterfrom
jonniediegelman:fzf-everywhere
Open

Make fzf search available from other repl modes#319
jonniediegelman wants to merge 1 commit into
KristofferC:masterfrom
jonniediegelman:fzf-everywhere

Conversation

@jonniediegelman

Copy link
Copy Markdown

This adds fzf reverse search when in the help, pkg, and shell repl modes to address #318

Comment thread src/repl.jl
main_mode.keymap_dict = LineEdit.keymap(Dict{Any, Any}[NEW_KEYBINDINGS, main_mode.keymap_dict])

# Inject ^R keybinding into other repl modes for fzf reverse search to work
for repl_mode in mirepl.interface.modes[2:end]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit worried this is too intrusive, ideally we only want this to work on Pkg and Shell mode right? not, say, R-mode or the now-gone C++ mode.

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

Successfully merging this pull request may close these issues.

2 participants