Search code examples
vimnetrw

Vim netrw - differences between Explore commands?


I'm a little confused by the netrw documentation on the Explore command variants. In particular, I don't understand how Sexplore (split & explore) differs from Hexplore / how Sexplore! differs from Vexplore.


Solution

  • The behavior of those commands is explained in the following help sections:

    :help netrw-:Hexplore
    :help netrw-:Sexplore
    :help netrw-:Vexplore
    

    The difference between :Sexplore and :Hexplore[!] is that the former respects your splitbelow and splitright settings while the latter ignores them.

    Same story for :Sexplore! which respects your settings, and :Vexplore[!] which doesn't.