Skip to content

Instantly share code, notes, and snippets.

@vrukhin
Forked from heroheman/ranger-cheatsheet.md
Created December 13, 2021 18:16
Show Gist options
  • Save vrukhin/cad0e209596c09ac529e0ffe7c83d4ae to your computer and use it in GitHub Desktop.
Save vrukhin/cad0e209596c09ac529e0ffe7c83d4ae to your computer and use it in GitHub Desktop.
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts

Movement

Shortcut Description
k up
j down
h parent directory
l subdirectory
gg go to top of list
G go t bottom of list
J half page down
K half page up
H History Back
L History Forward

File Operations

Shortcut Description
<Enter> Open
r open file with
z toggle settings
o change sort order
zh view hidden files
cw rename current file
yy yank / copy
/ search for files :search
n next match
`N`` prev match
<delete> Delete

Commands

Shortcut Description
: Execute Range Command
! Execute Shell Command
chmod Change file Permissions
du Disk Usage Current Directory

Tabs

Shortcut Description
C-n Create new tab
C-w Close current tab
Next tab
Previous tab
[n] goto / create [n] tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment