You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A directory buffer for Neovim that lets you edit your filesystem like you edit
text. Inspired by vim-dirvish and vidir.
Features
Intuitive: Create, copy, delete, and rename files, directories, and more by
editing their lines in the directory buffer. Buffer names are automatically
updated to reflect changes.
Minimal: Works out of the box with no configuration. Default mappings
easily changed.
Unobtrusive: Preserves alternate buffers and navigation history. Switch
between files with Ctrl-^ (Ctrl-6) and jump around your navigation history
with custom <Plug> mappings.
Safe: Does not modify the filesystem until you save the buffer. Optionally
request confirmation and dry-run saving.
Reliable: Resolves inter-dependencies in batch renames, including cycles.
Run the command :Dirbuf to open a directory buffer. Press - in any buffer
to open a directory buffer for its parent. Editing a directory will also open
up a directory buffer, overriding Netrw.
Inside a directory buffer, there are the following keybindings:
<CR>: Open the file or directory at the cursor.
gh: Toggle showing hidden files (i.e. dot files).
-: Open parent directory.
See :help dirbuf.txt for more info.
Configuration
Configuration is not necessary for Dirbuf to work. But for those that want to
override the default config, the following options are available with their
default values listed.