netrw is a network file editing plugin for the vim text editor.
Questions tagged [netrw]
123 questions
1
vote
1 answer
Is there a workaround for Vim's Netrw :bprev bug?
Vim's Netrw file explorer has the following bug: Running the command :e. will open Netrw, but after Netrw closes there is a latent buffer in Vim's buffer list which cannot be traversed with command :bprev. (:bnext works fine.)
This bug is discussed…

BitPusher16
- 235
- 2
- 12
1
vote
2 answers
Open Specific Drive Using Netrw Vim
I am using Vim80 on Windows 10. Using Netrw command , by default it will open up my %HOME% path. I want to open specific disk drive on my computer like F: using netrw. I have searched through similar questions on Stack Overflow and found answers…

Akhmad Zaki
- 419
- 7
- 23
1
vote
2 answers
Quick-search using VIM and Netrw on Windows
I use VIM 7.2 on Windows, with the latest netrw (141i, Jan 03 2011).
I use netrw for browsing remote FTP directors. Right now, when I want to navigate to a certain file, I type / and VIM's own search function gets the cursor there. I then…

ezuk
- 3,096
- 3
- 30
- 41
1
vote
1 answer
Automatically load remote files in vim using netrw
I use vim and its netrw plugin to edit remote files too often. Many times, I had to close the current session and start a complete new session again later. But loading all those files (a lot of them) takes a lot of time and involvement (since I need…

zeekhuge
- 1,594
- 1
- 13
- 23
1
vote
0 answers
vim8: Win8.1, netrw using scp, write fails with E382: Cannot write, 'buftype' option is set
This is the first time I am using the netrw plugin, I am able to open files on remote server using
:e scp://username@ipaddress//path/to/folder/
followed by selecting the correct file and opening it.
After I finish editing it when I try to write…

vijayvithal
- 551
- 1
- 5
- 13
1
vote
1 answer
Opening a file from netrw in current window
I have this in my ~/.vimrc file
" open files from netrw in a previous window
let g:netrw_browse_split = 4
" tree-like listing of directories in netrw
let g:netrw_liststyle = 3
" set width of 25% of current window width
let g:netrw_winsize = 25
"
It…

Konstantin
- 24,271
- 5
- 48
- 65
1
vote
1 answer
How do I place the cursor on the first file in vim netrw?
When I open a directory in vim it places the cursor at line 1, which is a banner, and then normally I have to go down a few lines before selecting a file. Is there any way to have netrw windows start out with the cursor at the first file?

Jake
- 2,106
- 1
- 24
- 23
1
vote
1 answer
How to hide "./" in netrw vim
I'm looking for a way to hide ./ from the Explore list in netrw. I was hoping to use a vim regex, but I can't land the proper one.
My current ignore list is:
let g:netrw_list_hide= '.*\.swp$,.DS_Store,*/tmp/*,*.so,*.swp,*.zip,*.git'
And according…

hhsnopek
- 364
- 3
- 18
1
vote
1 answer
vim's netrw plugin show error message:"The system cannot find the file specified." when change remote directory via FTP
remote ftp server is microsoft ftp.
so, i suspect that this is a bug.
can anyone knows what happend?

fr33m4n
- 542
- 2
- 13
- 31
1
vote
1 answer
entering netrw commands (or ¿what is {cnt} in netrw help?)
I'm puzzled with netrw. I want to go to a bookmark, and the help file says I can type {cnt}bm . I must be dumb, but I dont get it. :bm, {cnt}bm neither work. GVim on windows shows me a netrw menu in wich I can select 'Go to bookmark' and it works,…

jose
- 399
- 2
- 14
1
vote
2 answers
Patching macvim remote editing, file netrw.vim
So there's a problem with macvim when doing remote editing through
:e scp://path/to/file
Every time I try to save :w, macvim complains E382: Cannot write, 'buftype' option is set.
The quick fix to solving this is to do :set buftype:""
However,…

Eugene Temlock
- 69
- 1
- 1
- 7
1
vote
1 answer
In vim netrw using mf, how to highlight file with name starting by '.' dot symbol?
When trying to mf mark files named .* in netrw, vim provides no visual feedback. Is there a way to fix this?

c0ffeeartc
- 71
- 2
- 6
1
vote
2 answers
MacVim and netrw - Press ENTER
I've set up MacVim to work with netrw for remote editing (yaaay!), but whenever I save a file, I get the following error:
:!scp -q '/var/folders/PN/PNhWJAr5GGC0WfeLdFgWV++++TU/-Tmp-/v771493/0' 'remot_host:path/remote_file.css'
Press ENTER or type…

Jonatan Littke
- 5,583
- 3
- 38
- 40
1
vote
2 answers
gvim Windows 7 netrw open url under text cursor
I've added this line to my vimrc file in order to be able to open a link with the command 'gx':
let g:netrw_browsex_viewer = 'firefox'
Unfortunately the only thing that happens is that a tiny DOS window flashes on the screen.
Advice very…

user2962912
- 69
- 1
- 6
1
vote
0 answers
gvim 7.3 on Windows 7: netrw ftp unable to browse remote directory, obtain files
I'm using gvim 7.3 on Windows 7 to try access a parent folder on a remote site using netrw ftp.
I've entered the following command in gvim:
:e ftp://hostname/path/to/dir
Following the prompt for my login details this error message flashes past:…

user2962912
- 69
- 1
- 6