folk.zone Wiki

a public knowledge base

Site Tools


terminal:tools:ranger

Table of Contents

Ranger

A console file manager with Vim-style keybindings and a three-pane view.

What It Is

A file manager that runs in the terminal:

  • Left pane: parent directory
  • Middle pane: current directory
  • Right pane: preview of the selected file

Visual navigation is easier than ls and cd for browsing trees, and the preview pane shows file contents before you open them.

Keys

Key Action
h j k l or arrows left, down, up, right
gg / G top / bottom
yy yank (copy)
dd cut
pp paste
Space select
zh toggle hidden files
/, n search, next match
r open with
: shell command
q quit

S (capital) opens a shell in the current directory; exiting the shell returns to ranger. ~/.config/ranger/rc.conf holds keybindings and settings; rifle.conf maps file types to openers.

See Also

terminal/tools/ranger.txt · Last modified: by 127.0.0.1