Use vi mode for prompt_toolkit layout #10085

Open
ndronen opened this Issue Dec 10, 2016 · 0 comments

Projects

None yet

1 participant

@ndronen
ndronen commented Dec 10, 2016

As noted elsewhere (jonathanslenders/python-prompt-toolkit#432), prompt_toolkit lacks a mechanism for the history search prompt to be customized for vi mode. The default inside prompt_toolkit is emacs mode, so vi mode users are shown the emacs mode history search prompt (e.g. "I-search: ", "I-search backward:") instead of "/" or "?". When the prompt_toolkit issue is resolved, please update IPython to pass the appropriate argument (likely editing_mode) to create_prompt_layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment