Ranger is a text-based file manager that can be very easy to use and powerful if you learn shortcuts and keybindings (you can find the wiki here). This article want to introduce the more used things that a user do with a file manager.
Firstly, ranger is vi based.
If you’re asked yourself “Why to use ranger?” just read this article and you’ll understand!
up or k ____________ to go up
ctrl-b or pageup ___ to go up a page
ctrl-u or K ________ to go up half page
down or j __________ to go down
ctrl-f or pagedown _ to go down a page
ctrl-d or J ________ to go down half page
left or h __________ to go left
right or l _________ to go right
home _______________ to move to top
end ________________ to move to bottom
H __________________ to history move back
L __________________ to history move forward
ctrl-n or gn _______ to open new tab (in your home)
gc _________________ to close current tab
tab or gt __________ to move to next tab
shift-tab or gT ____ to move to previous tab
cd _________________ to change the working directory to specific directory
gh _________________ to change the working directory to your home
gm _________________ to change the working directory to /media
gM _________________ to change the working directory to /mnt
gu _________________ to change the working directory to /usr
space ______________ to mark a file/directory
v __________________ to mark all files/directories
uv __________________ to unmark all selected files/directories
delete _____________ to delete selected files/directories
yy or f5 ___________ to copy
ya _________________ to add files/directories to current 'copy'
yr _________________ to remove files/directories from current 'copy'
dd or f6 ___________ to cut
da _________________ to add files/directories to current 'cut'
dr _________________ to remove files/directories from current 'cut'
cw _________________ to rename a file/directory
I __________________ to change name of file/directory, from the beginning
A __________________ to change name of file/directory, from the end
/ or f _____________ to search a file/directory
n __________________ to search next file/directory
N __________________ to search previous file/directory
q __________________ to quit
s __________________ to launch shell
These’re the most useful shortcuts, but all the keybindings can be diplayed typing
You can find your configuration file in