nvim-lua / nvim-lua/kickstart.nvim

Using nvim remotely

Open
#1,702 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
31.5k
Forks
46.6k
Avg merge
2d 16h
Merged PRs (30d)
4

Description

Hello,

I often have to work on remote machines and I'd like to be able to run my nvim locally and connect to a server. I've seen suggestions on Reddit to do the following:

start the server:

nvim --headless --listen 0.0.0.0:9321
or whatever address:port you want

then attach with:

nvim --remote-ui --server :9321

However, I'm getting this error when starting up the server (using localhost and a random port number):
nvim: Failed to --listen: no such file or directory: "127.0.0.1:0141"

Is there a better way to go about this? I'm mainly trying to prevent myself from having to copy over my local config to the remote, otherwise I'd just run nvim there. Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported nvim --headless --listen 127.0.0.1:0141 failure and compare it with the proposed --remote-ui --server invocation. The issue does not name a repository file, test, or expected code change, so the intended fix and completion criteria need clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
neovim
Domain
tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.