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

Expose auto_suggest.resume_hinting, fix resume on backspace #13994

Merged
merged 1 commit into from Mar 30, 2023

Conversation

krassowski
Copy link
Member

This is a pre-requisite of #13992 but the shortcut is disabled by default by never filter. The idea here is that this could be merged as-is (ideally after rebasing on top of #13991) to allow user testing. Once this is in, users can emulate part of the behaviour proposed in #13992 with the following snippet:

custom_shortcuts = [
    {
        "command": "IPython:auto_suggest.resume_hinting",
        "new_keys": ["right"],
        "new_filter": "default_buffer_focused & ((vi_insert_mode & ebivim) | emacs_insert_mode)"
    }
]
%config TerminalInteractiveShell.shortcuts = custom_shortcuts

@krassowski krassowski added the autosuggestions Related to fish-like autosuggestion feature (as opposed to the tab-completions) label Mar 26, 2023
@Carreau Carreau added this to the 8.12 milestone Mar 30, 2023
@Carreau Carreau merged commit a7d8def into ipython:main Mar 30, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosuggestions Related to fish-like autosuggestion feature (as opposed to the tab-completions)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants