Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🏠 Back to Blog

Ranger 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 t bottom of list
Jhalf page down
Khalf page up
HHistory Back
LHistory Forward
~Switch the view

File Operations

ShortcutDescription
<Enter>Open
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 Range Command
!Execute Shell Command
chmodChange file Permissions
duDisk Usage Current Directory
SRun the terminal in your current ranger window (exit to go back to ranger)

Tabs

ShortcutDescription
C-nCreate new tab
C-wClose current tab
tabNext tab
shift + tabPrevious 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 for 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

thx to the comments section for additional shortcuts! post your suggestions there!