Skip to content

input not working in Ex mode #482

Description

@pierreganty

The following shows it is possible to enter Ex mode but it is not possible to get out of it.

>>> import neovim
>>> n = neovim.attach("child", argv=['/opt/homebrew/bin/nvim', "--clean", "--embed", "--headless"])
>>> n.api.get_mode()
{'mode': 'n', 'blocking': False}
>>> n.input("Q")
1
>>> n.api.get_mode()
{'mode': 'ce', 'blocking': False}
>>> n.input("vi")
2
>>> n.api.get_mode()
{'mode': 'ce', 'blocking': False}
>>> n.input(":vi")
3
>>> n.api.get_mode()
{'mode': 'ce', 'blocking': False}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions