Documentation

features

File Operations

croot lets you manage files and directories without leaving the terminal.

Create

KeyAction
aCreate a new file
ACreate 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:

  1. editor.command in config
  2. $VISUAL environment variable
  3. $EDITOR environment variable
  4. vi (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"