Skip to content

Allow specification of a default port to try #217

@justusschock

Description

@justusschock

Is your feature request related to a problem? Please describe.
My problem is that i'm working on a remote machine, where I manually need to whitelist every port that's accessed. This makes random ports quite difficult.

Describe the solution you'd like
An ideal solution would be an env-var (e.g. NVIM_REMOTE_PORT=50000) that's tested when set and if not it falls back to random

Additional context
I've tried implementing something like this in https://github.com/amitds1997/remote-nvim.nvim/compare/main...justusschock:remote-nvim.nvim:main?expand=1

but unfortunately the parsing doesn't work for me and I'm not sure what's going wrong/how to debug further.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions