Ranger
Ranger is a tui file manager written in python
Installation
sudo apt install ranger
Keybindings
Navigation
j/k
- Move down/uph/l
- Move left/right (parent/child directories)H/L
- Move back/forward in historygg/G
- Go to top/bottom<number>G
- Go to line number
File Operations
<Enter>
- Open file/directoryr
- Open with applicationyy
- Copy (yank) filedd
- Cut filepp
- Paste filepo
- Paste and overwritepl
- Paste as symlinkdD
- Delete file (with confirmation)
Directory Operations
cw
- Rename file/directoryI
- Rename (prepend to name)A
- Rename (append to name):mkdir <name>
- Create directory:touch <name>
- Create file
View and Search
zh
- Toggle hidden fileszp
- Toggle preview/
- Search forward?
- Search backwardn/N
- Next/previous search result
Tabs and Bookmarks
gn/<C-n>
- New tabgt/<C-t>
- Next tabgT
- Previous tabgc/<C-w>
- Close tabm<letter>
- Set bookmark'<letter>
- Go to bookmark
Quick Actions
<Space>
- Select filev
- Invert selectionuv
- Remove all selectionsS
- Open shell in current directoryQ
- Quit ranger