Skip to content

Conversation

@MatrixManAtYrService
Copy link

If accepted, this would fix #1631

Usage looks like this:

    app = Application(
        key_bindings=kb, layout=Layout(root_container), editing_mode=EditingMode.VI
    )
    app.vi_state.default_input_mode = InputMode.NAVIGATION
    app.reset()
    app.run()

I'm not confident about the bigger picture here. Like maybe there's a way to do this that fits better with the many other ways to use prompt-toolkit. All I can say is that it works well in my case.

@MatrixManAtYrService
Copy link
Author

That failing test... I don't think it has anything to do with my change.

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.

Start in vi navigation mode

1 participant