Path navigator designed to work with Vim's built-in mechanisms and complementary plugins.
:g
, automate it with g:dirvish_mode
:Shdo[!]
generates shell scriptEach Dirvish buffer contains only filepaths, hidden by conceal.
y
to yank a path, then feed it to :r
or :e
or whatever.:sort
, filter with :global
. Hit R
to reload.:'<,'>caddb
), iterate with :cdo
.:Shdo[!]
.:set ft=dirvish
on any buffer to enable Dirvish features:git ls-files | vim +'setf dirvish' -
So commands and plugins that work with @%
and @#
do the Right Thing.
:!mkdir %foo
:e %foo.txt
@#
to get the Dirvish buffer from a :Shdo
buffer::Shdo
mkdir <C-R>#.bk
Z!
For any purpose. It's safe and reversible.
:sort
or :global
to re-arrange the view, delete lines with d
, etc.
Then :%Shdo
the result.:!
to see inline results::'<,'>!xargs du -hs
u
to undo, or R
to reload.The arglist is an ad-hoc list of filepaths.
x
to add files to the (window-local) arglist.:argdo
, or plugin features like ]a
.:Shdo!
(mapping: [count].
) to generate a shell script from the arglist.Some people have created plugins that extend Dirvish:
ssh://
and other remote pathsDirvish was originally forked (and completely rewritten) from filebeagle by Jeet Sukumaran.
Copyright 2015 Justin M. Keyes.