File Operations
croot lets you manage files and directories without leaving the terminal.
Create
| Key | Action |
|---|---|
a | Create a new file |
A | Create a new directory |
A dialog prompts for the name. The new entry appears in the tree immediately.
Rename
Press R to rename the selected file or directory. The dialog pre-fills with the current name.
Delete
Press D to delete the selected file or directory. A confirmation dialog appears before deletion.
Open in Editor
Press e to open the selected file in your configured editor.
The editor is resolved in this order:
editor.commandin config$VISUALenvironment variable$EDITORenvironment variablevi(fallback)
[editor]
command = "nvim"
Open Externally
Press x to open the selected file with the system default application (open on macOS, xdg-open on Linux).
Configure custom open rules per file pattern:
[open]
default = "open"
[[open.rules]]
pattern = "*.pdf"
command = "zathura"