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

input not working in Ex mode #482

Open
pierreganty opened this issue Jun 2, 2021 · 0 comments
Open

input not working in Ex mode #482

pierreganty opened this issue Jun 2, 2021 · 0 comments

Comments

@pierreganty
Copy link

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}
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

No branches or pull requests

1 participant