I tried nvim ftp://[address]//path/to/code.txt but that not work for SpaceVim, it opened an empty file while it was not empty on my remote machine.
nvim ftp://[address]//path/to/code.txt
Edit the file autoload/SpaceVim/layers/core.vim.
autoload/SpaceVim/layers/core.vim
Search for the line: let g:loaded_netrwPlugin = 1 and comment it out.
let g:loaded_netrwPlugin = 1
This works and mostly doesn't break stuff for me, but YMMV.
netrw disabled by default in core layer. Add to file ~/.SpaceVim.d/init.toml:
netrw
core
~/.SpaceVim.d/init.toml
[[layers]] name = 'core' enable_netrw = true
Copyright © 2021 Jogjafile Inc.
Edit the file
autoload/SpaceVim/layers/core.vim
.Search for the line:
let g:loaded_netrwPlugin = 1
and comment it out.This works and mostly doesn't break stuff for me, but YMMV.