Ranger File Manager Reference
Clean, fast ranger configuration focused on speed and stability.
View Configuration
Layout:
- Miller columns (1:3:4 ratio)
- Hidden files filtered by default
- Preview enabled for files and directories
- Image preview via w3m
Display Features:
- File size in main column and status bar
- Free space in status bar
- Progress bar in status bar
- Tags in all columns
- Borders enabled
- Mouse support enabled
Key Features
File Management:
- Automatic file counting
- Multiple file delete confirmation
- Open all images together
- Console history saved
Preview System:
- Files and directories previewed
- Images displayed (w3m method)
- Collapsible preview
- Custom preview scripts enabled
Performance:
- VCS awareness disabled for speed
- Git backend disabled
- Hidden file regex filtering
- Status bar at bottom
Hidden Files Filter
Files matching these patterns are hidden by default:
- Dotfiles (
^\.) - Python compiled files (
.pyc,.pyo) - Backup files (
.bak) - Swap files (
.swp) - Lost+found directories
- Cache directories
File Types
Custom file associations defined in rifle.conf
Custom commands available in commands.py
Preview behavior controlled by scope.sh
Default Keybinds
Ranger uses vim-like navigation:
h/j/k/l- Navigate (left/down/up/right)q- Quitr- Open with applicationyy- Copy (yank)pp- Pastedd- Cutcw- Renamezh- Toggle hidden filesS- Open shell in current directory
Configuration Files
rc.conf- Main configurationrifle.conf- File associationscommands.py- Custom commandsscope.sh- Preview script
View source
| 1 | # Ranger File Manager Reference |
| 2 | |
| 3 | Clean, fast ranger configuration focused on speed and stability. |
| 4 | |
| 5 | ## View Configuration |
| 6 | |
| 7 | **Layout:** |
| 8 | - Miller columns (1:3:4 ratio) |
| 9 | - Hidden files filtered by default |
| 10 | - Preview enabled for files and directories |
| 11 | - Image preview via w3m |
| 12 | |
| 13 | **Display Features:** |
| 14 | - File size in main column and status bar |
| 15 | - Free space in status bar |
| 16 | - Progress bar in status bar |
| 17 | - Tags in all columns |
| 18 | - Borders enabled |
| 19 | - Mouse support enabled |
| 20 | |
| 21 | ## Key Features |
| 22 | |
| 23 | **File Management:** |
| 24 | - Automatic file counting |
| 25 | - Multiple file delete confirmation |
| 26 | - Open all images together |
| 27 | - Console history saved |
| 28 | |
| 29 | **Preview System:** |
| 30 | - Files and directories previewed |
| 31 | - Images displayed (w3m method) |
| 32 | - Collapsible preview |
| 33 | - Custom preview scripts enabled |
| 34 | |
| 35 | **Performance:** |
| 36 | - VCS awareness disabled for speed |
| 37 | - Git backend disabled |
| 38 | - Hidden file regex filtering |
| 39 | - Status bar at bottom |
| 40 | |
| 41 | ## Hidden Files Filter |
| 42 | |
| 43 | Files matching these patterns are hidden by default: |
| 44 | - Dotfiles (`^\.`) |
| 45 | - Python compiled files (`.pyc`, `.pyo`) |
| 46 | - Backup files (`.bak`) |
| 47 | - Swap files (`.swp`) |
| 48 | - Lost+found directories |
| 49 | - Cache directories |
| 50 | |
| 51 | ## File Types |
| 52 | |
| 53 | **Custom file associations** defined in `rifle.conf` |
| 54 | **Custom commands** available in `commands.py` |
| 55 | **Preview behavior** controlled by `scope.sh` |
| 56 | |
| 57 | ## Default Keybinds |
| 58 | |
| 59 | Ranger uses vim-like navigation: |
| 60 | - `h/j/k/l` - Navigate (left/down/up/right) |
| 61 | - `q` - Quit |
| 62 | - `r` - Open with application |
| 63 | - `yy` - Copy (yank) |
| 64 | - `pp` - Paste |
| 65 | - `dd` - Cut |
| 66 | - `cw` - Rename |
| 67 | - `zh` - Toggle hidden files |
| 68 | - `S` - Open shell in current directory |
| 69 | |
| 70 | ## Configuration Files |
| 71 | |
| 72 | - `rc.conf` - Main configuration |
| 73 | - `rifle.conf` - File associations |
| 74 | - `commands.py` - Custom commands |
| 75 | - `scope.sh` - Preview script |