rancher
- #cheatsheet #tool
- rancher is a light terminal file manager
-
Cheat sheet
-
Navigation
Key Action j/kDown / up h/lParent directory / enter (open) gg/GTop / bottom of list J/KHalf page down / up H/LHistory back / forward ]/[Next / previous directory in history /Search files (regex) n/NNext / previous search match SpaceToggle selection on current file vInvert selection VSelect all (or clear) zvCollapse / expand directory zhToggle hidden files ziToggle preview (image/dir) -
File manipulation
Key Action yyYank (copy) ddCut ppPaste pPPaste (append to name) poPaste (overwrite) dDDelete (trash or permanent) cwRename (like vim) :rename <name>Rename to <name> :bulkrenameBulk rename in $EDITOR iOpen with… (default app) rOpen with… (choose app) EEdit current file in $EDITOR eEdit filename only IAdd to path (for shell) -
Misc
Key Action ?Help qQuit QQuit and cd to current dir (shell) :Ranger command line !Shell command (output in pager) SSpawn shell in current dir (subshell inside ranger) :shell -dSpawn shell in distinct session (detached; uses $TERMCMDor$TERMfor external terminal)z+ keyToggle settings (e.g. zhhidden,zipreview)oSort by (name, mtime, size, …) MLine mode (size, mtime, …) gn/Ctrl+nNew tab gt/gTNext / previous tab Alt+1…Alt+9Go to tab 1–9 Ctrl+wClose tab m+ keySet bookmark '+ keyJump to bookmark ''Jump to last cursor position fFilter (hide non-matching) Ctrl+lRedraw
