Notes de Jérôme Prudent
Notes publiques ...

« Notes

rancher

Créée le 02 Mar 2026

cheatsheet tool

  • #cheatsheet #tool
  • rancher is a light terminal file manager
  • Cheat sheet

  • Key Action
    j / k Down / up
    h / l Parent directory / enter (open)
    gg / G Top / bottom of list
    J / K Half page down / up
    H / L History back / forward
    ] / [ Next / previous directory in history
    / Search files (regex)
    n / N Next / previous search match
    Space Toggle selection on current file
    v Invert selection
    V Select all (or clear)
    zv Collapse / expand directory
    zh Toggle hidden files
    zi Toggle preview (image/dir)
  • File manipulation

    Key Action
    yy Yank (copy)
    dd Cut
    pp Paste
    pP Paste (append to name)
    po Paste (overwrite)
    dD Delete (trash or permanent)
    cw Rename (like vim)
    :rename <name> Rename to <name>
    :bulkrename Bulk rename in $EDITOR
    i Open with… (default app)
    r Open with… (choose app)
    E Edit current file in $EDITOR
    e Edit filename only
    I Add to path (for shell)
  • Misc

    Key Action
    ? Help
    q Quit
    Q Quit and cd to current dir (shell)
    : Ranger command line
    ! Shell command (output in pager)
    S Spawn shell in current dir (subshell inside ranger)
    :shell -d Spawn shell in distinct session (detached; uses $TERMCMD or $TERM for external terminal)
    z + key Toggle settings (e.g. zh hidden, zi preview)
    o Sort by (name, mtime, size, …)
    M Line mode (size, mtime, …)
    gn / Ctrl+n New tab
    gt / gT Next / previous tab
    Alt+1 … Alt+9 Go to tab 1–9
    Ctrl+w Close tab
    m + key Set bookmark
    ' + key Jump to bookmark
    '' Jump to last cursor position
    f Filter (hide non-matching)
    Ctrl+l Redraw