Skip to content

Startup script for Ipython  #391

Open
@mrsalo

Description

@mrsalo

In order to use and test out pynvim it would be beneficial to have a startup script for IPython that populates a connection to a local NeoVim instance without further setup required.
At least in Arch Linux AFAIK every NeoVim instance populates its API endpoint under /tmp/nvimRANDOM/0. This makes it possible to connect to every instance, echo a identifying message to the user to enable him/her choosing to which instance to connect to. If there is only one instance it is also possible to connect to it directly.
I created a small script that implements the above mentioned behviour. Is this interesting to anyone else?
Example:
Peek 2019-05-02 22-06

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions