Skip to main content

ranger

ranger is a console file manager with VI key bindings.

It provides minimalistic curses interface with a view on the directory.

cheatsheet

General

ShortcutDescription
rangerStart Ranger
QQuit Ranger
RReload current directory
?Ranger Manpages / Shortcuts

Movement

ShortcutDescription
kup
jdown
hparent directory
lsubdirectory
gggo to top of list
Ggo to bottom of list
Jhalf page down
Khalf page up
Hhistory back
Lhistory forward
~switch the view

File Operations

ShortcutDescription
EnterOpen
ropen file with
ztoggle settings
ochange sort order
zhview hidden files
cwrename current file
yyyank / copy
ddcut
pppaste
/search for files :search
nnext match
Nprev match
<delete>Delete

Commands

ShortcutDescription
:Execute ranger command
!Execute shell command
chmodChange file permissions
duDisk usage of current directory
SRun the terminal in the current ranger window (exit to go back to ranger)

Tabs

ShortcutDescription
C-nCreate new tab
C-wClose current tab
tabNext tab
shift + tabPrev tab
alt + [n]goto / create [n] tab

File substituting

ShortcutDescription
%fSubstitute highlighted file
%dSubstitute current directory
%sSubstitute currently selected files
%tSubstitute currently tagged files

Example of substitution

: bulkrename %s

Marker

ShortcutDescription
m + <letter>Create Marker
um + <letter>Delete Marker
' + <letter>Go to Marker
ttag a file with an *
t"<any>tag a file with your desired mark