-
Notifications
You must be signed in to change notification settings - Fork 9
Showcase
TheBlob42 edited this page Apr 29, 2022
·
2 revisions
The showcase GIFs have been created using peek and screenkey.
The fancy notifications are enabled by nvim-notify and need no further configuration of DREX
All examples use the default keybindings (see
:help drex-default-keybindings)
- move up and down with
kandj - expand and collapse directories with
landh - open a file
- in the same window with
l - in a split with
CTRL-x - in a vertical split with
CTRL-v - in a new tab with
CTRL-t
- in the same window with

The drawer will always be opened in the current working directory
- open drawer with
:DrexDrawerOpen - close drawer with
:DrexDrawerClose - toggle drawer with
:DrexDrawerToggle - jump to the current file in the drawer with
:DrexDrawerFindFileAndFocus

- files from the drawer are opened in the adjacent window
- in case of multiple adjacent windows the window picker is used

- create a new file (including parent directories) with
a - rename a file with
r - delete a file with
d

- mark elements with
M - unmark elements with
u - toggle elements with
m - check and edit clipboard content with
cs - copy files with
p - move files with
P - clear clipboard with
cc

- multi rename visual selection with
r(clipboard withR)

Easily mark multiple elements which are visible in the current DREX buffer using :g/<pattern>/DrexMark (see :help :g). Afterwards you can easily operate on the marked elements, to for example delete (D) or rename (R) them
For example to delete all yaml files in the current DREX buffer:
