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

Netrw does not open remote file #64

Open
saccarosium opened this issue Jan 18, 2025 · 0 comments
Open

Netrw does not open remote file #64

saccarosium opened this issue Jan 18, 2025 · 0 comments
Labels
bug issues reporting wrong behavior vim vim specific issues

Comments

@saccarosium
Copy link
Owner

Problem

In specific cases, Netrw plugin does not open remote file. Result depends on file name and order on the command line.

Steps to reproduce

This works:
nvim -p 'scp://root@REDACTED:22//etc/network/interfaces' 'scp://root@REDACTED:22//etc/network/interfaces.new'

This does not:
nvim -p 'scp://root@REDACTED:22//etc/network/interfaces.new' 'scp://root@REDACTED:22//etc/network/interfaces'

The only difference is order of files.

Further tests:

Works:
nvim -p 'scp://root@REDACTED:22//tmp/bbb' 'scp://root@REDACTED:22//tmp/bbb.old'

Does not work:
nvim -p 'scp://root@REDACTED:22//tmp/bbb.old' 'scp://root@REDACTED:22//tmp/bbb'

Expected behavior

Neovim always opens both files.

Nvim version (nvim -v)

NVIM v0.10.2

Vim (not Nvim) behaves the same?

Yes, Vi IMproved 9.1

Operating system/version

Archlinux

Terminal name/version

st 0.9.2

$TERM environment variable

xterm-256color

Installation

Standard install from repo (extra)

original issue: neovim/neovim#31001

@saccarosium saccarosium added bug issues reporting wrong behavior vim vim specific issues labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior vim vim specific issues
Projects
None yet
Development

No branches or pull requests

1 participant