Questions tagged [netrw]

netrw is a network file editing plugin for the vim text editor.

123 questions
1
vote
2 answers

vim netrw-mc on remote filesystem

I'd like transfer file within vim netrw plugin from a remote host to my machine. I tried to do the following: within netrw I set a local destination directory with netrw-mt, I connect to remote host with :e sftp://remoteuser@remotehost/path/ and…
Valerio Crini
  • 1,829
  • 3
  • 13
  • 14
1
vote
1 answer

Vim netrw explore window focus issue

Using vim with no plugins, and an empty .vimrc (so I know nothing is conflicting) I am having a weird problem using the netrw file explorer. When I work with two vertical split windows, opening a file using :Explore, switching to the other window…
gezpage
  • 441
  • 4
  • 11
1
vote
2 answers

vim autoread + netrw to prevent accidental overwriting

Is there any equivalent to :autoread when using netrw to access remote files in vim? I access files on my work machine remotely via netrw, then when I arrive at work modify the files there. However, if I go back to remote access, it's easy to…
keflavich
  • 18,278
  • 20
  • 86
  • 118
1
vote
1 answer

Vim, netrw plugin tmp files not uploaded at server

If I connect via sftp with netrw plugin and open the file, filepath looks like sftp://.. In current session if I close this file and reopen it, netrw loads file from /tmp/.. and after saving this file is not uploaded to server. How can I delete…
Webeith
  • 303
  • 1
  • 7
0
votes
1 answer

Vim edit http netrw

In pseudo speak: I use a command: edit! http://apath/toapage.pg1.html and with the elinks plugin this will open the contents of this page into a buffer for editing But when I try to increment this url's "1" by injecting a function variable…
Ricalsin
  • 950
  • 9
  • 28
0
votes
0 answers

Netrw in Neovim is hiding all files created inside a parameterised route in Sveltekit, how can I display them?

While working with Sveltekit in Neovim I ran into an issue with Netrw. When I create a parameterised route (e.g. "[cardId]"), all files that I create inside it are hidden. How can I make these files show up? For now, I'm just searching for the files…
DiJitOL
  • 1
  • 1
0
votes
0 answers

per-directory netrw settings

Is there a way to have directory specific netrw settings in (neo)vim? I want to keep my default settings in my .vimrc but for some directories, I want netrw to use -- for example -- the tree view instead of the flat one, maybe a different sorting,…
Bastian Venthur
  • 12,515
  • 5
  • 44
  • 78
0
votes
0 answers

Unable to connect to remote server via FTP or SSH

I am trying to connect nvim to a remote server from a windows machiene using either FTP or SSH, but both seem to fail. Connecting using the ssh and ftp commands does work flawlessly though. Using nvim v0.9.0 and netrw v171. Trying connecting with…
Vlajd
  • 11
  • 1
0
votes
0 answers

vi/nvim file on a remote machine

I'm trying to use nvim (or vim) to edit a file on a remote machine from my Ubuntu 20.04 host like this: $ nvim scp://developer@devvm//home/developer/junk From what I understand remote editing is handled by the netrw plugin. I installed nvim my…
zephod
  • 11
  • 1
0
votes
1 answer

Neovim Netrw Pop up on start

I am new to lua config and when I setup my auto-pair for brackets everything works except i get a random screen like I'm printing to it with a bunch of function listings. My understanding is that this is downloaded from the github is there any way…
Jon Forhan
  • 51
  • 1
  • 5
0
votes
0 answers

Keep netrw view after closed just like nerdtree in VIM

Here's my netrw settings, I toggle netrw with . let g:netrw_banner = 0 let g:netrw_liststyle = 3 let g:netrw_browse_split = 4 let g:netrw_altv = 1 let g:netrw_winsize = 20 set autochdir " Toggle Vexplore with…
0
votes
1 answer

How to automatically enable line numbers in gvim netrw

In my .vimrc file located in my home directory, I have already added set nu and every time I open a file in gvim, I get line numbers displayed at the extreme left. But whenever I open a folder in gvim using :Vex (vertical split and open explorer) or…
Kartik Podugu
  • 144
  • 1
  • 5
0
votes
0 answers

Delete buffer and go back to netrw

When I open a file using vim's file browser netrw, I want get back to netrw after deleting the file buffer. Here's what I'm doing: vim . Open a file with ENTER. Then delete the buffer: :bd But this puts me in a new unnamed buffer. I might be…
steffen
  • 16,138
  • 4
  • 42
  • 81
0
votes
1 answer

How to make Netrw Explorer appears automatically on the left side when opening a new tab

my problem is quite simple, but I can't figure how to solve it. So I wanted to have a tree file explorer, thus I searched and found netrw. Online, I managed to find a good configuration that I modified a little and put in my .vimrc : let…
0
votes
1 answer

Is there a way to prevent Vim's netrw from modifying timestamp of directories I browse?

Whenever I browse with the netrw 'Explore' command in linux, the directories that I browse through get their modified timestamps changed to when I last changed to that directory. Is there a way to prevent it from updating the timestamps, since I…
Russ Thils
  • 130
  • 1
  • 9
1 2 3
8 9