[vim/vim] Integrate vim-dirvish as file explorer instead of netrw (#8666)

226 views
Skip to first unread message

Ashish Panigrahi

unread,
Jul 30, 2021, 4:18:35 AM7/30/21
to vim/vim, Subscribed

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.

Currently, netrw comes out of the box in vim as a file-explorer (among other things) but there are quite a few issues with it and attempts have been made to mitigate it.

Vim-dirvish is a similar plugin with less code but much more reliability than netrw. It would be nice if this plugin is integrated into vanilla vim instead of netrw.

Describe the solution you'd like
Switching to vim-dirvish as the default file explorer in vim.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Martin Tournoij

unread,
Jul 30, 2021, 4:36:36 AM7/30/21
to vim/vim, Subscribed

I've been using Dirvish pretty much since the day it came out, but swapping out Netrw with Dirvish means people using (and expecting) Netrw now will suddenly be presented with Dirvish. It will also break custom mappings, commands, and whatnot people have for Netrw.

I really like Vim for its stability; you can take a vimrc from 20 years ago and most likely everything will still work. It's one of Vim's best features that is probably not mentioned often enough.

So I don't think this is a good idea. Even Neovim – which tends to be a little bit more relaxed about compatibility – retains Netrw for presumably the same reason (and the author of Dirvish is one of the core Neovim contributors).

Cthulhux

unread,
Jul 30, 2021, 9:09:17 AM7/30/21
to vim/vim, Subscribed

I really like Vim for its stability; you can take a vimrc from 20 years ago and most likely everything will still work.

It has become worse with the advent of package managers though (I stopped using Vim as my default IDE shortly before the Great Schism of Package Managers™).

Romain Lafourcade

unread,
Aug 7, 2021, 3:44:21 PM8/7/21
to vim/vim, Subscribed

Netrw does so much more than Dirvish…

Is this a joke?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Triage notifications on the go with GitHub Mobile for iOS or Android.

Leonid V. Fedorenchik

unread,
Aug 26, 2021, 10:22:52 AM8/26/21
to vim/vim, Subscribed

... swapping out Netrw with Dirvish means people using (and expecting) Netrw now will suddenly be presented with Dirvish.

I wouldn't say "suddenly".. people will need to explicitly update Vim and it would be beneficial to update to modern Vim with modern plugins IMO. And people wishing use existing setup don't need to do anything - don't need to update vim or do anything. Only the ones who update (vim or distribution) will notice any change, which is somewhat expected I would say.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Gabriel Dupras

unread,
Aug 26, 2021, 10:34:03 AM8/26/21
to vim/vim, Subscribed

Why not fix the issues with netrw instead of switching to something entirely different?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Gabriel Dupras

unread,
Aug 26, 2021, 11:03:05 AM8/26/21
to vim/vim, Subscribed

There is also this issue that @brammool opened a while ago:

Help wanted: netrw maintenance #4663


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Bram Moolenaar

unread,
Aug 26, 2021, 1:18:57 PM8/26/21
to vim/vim, Subscribed


> There is also this issue that @brammool opened a while ago:
>
> [Help wanted: netrw maintenance #4663](https://github.com/vim/vim/issues/4663)

It is clear that the time that Charles can spend on updating the netrw
code is limited. Over time it has become quite complex. It is a great
help to Charles if you can provide a patch, making sure it works
everywhere. Just reporting a problem will likely not result in a quick
fix. Also keep in mind that not everybody likes fancy tools with tons
of options, but prefer to stick to the way of working they are familiar
with. Git is a good example of a tool that is just too complicated for
casual use.

--
FIRST SOLDIER: So they wouldn't be able to bring a coconut back anyway.
SECOND SOLDIER: Wait a minute! Suppose two swallows carried it together?
FIRST SOLDIER: No, they'd have to have it on a line.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- ***@***.*** -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Cthulhux

unread,
Sep 3, 2021, 5:52:50 AM9/3/21
to vim/vim, Subscribed

Git is a good example of a tool that is just too complicated for casual use.

Which is another reason why I find it sad that the reference Vim repository is hosted here, to be honest.


You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub.

Bram Moolenaar

unread,
Sep 4, 2021, 8:24:10 AM9/4/21
to vim/vim, Subscribed


> > Git is a good example of a tool that is just too complicated for
> > casual use.
>
> Which is another reason why I find it sad that the reference Vim
> repository is hosted here, to be honest.

Github is more a platform with tools to work on code with a group of
people and distribute it. It happens to be using git, but you only need
to have a short "cheatsheet" to do the basic things and create a pull
request.

It gets much more complicated when trying to do something non-standard
with git.

We moved to github after Google code shut down. It was the general
opinion it was the best choice, and we haven't been disappointed. I
also saw a problem using git, but other things are more important.

--
While it's true that many normal people whould prefer not to _date_ an
engineer, most normal people harbor an intense desire to _mate_ with them,
thus producing engineerlike children who will have high-paying jobs long
before losing their virginity.
(Scott Adams - The Dilbert principle)


/// Bram Moolenaar -- ***@***.*** -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///


You are receiving this because you are subscribed to this thread.

Reply all
Reply to author
Forward
0 new messages