From 39740760d6bcb025e41b33d3282234312a39bcd3 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 13 Dec 2017 19:12:47 -0500 Subject: [PATCH] Add base ranger help file --- help/ranger.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 help/ranger.md diff --git a/help/ranger.md b/help/ranger.md new file mode 100644 index 00000000..7d127f7c --- /dev/null +++ b/help/ranger.md @@ -0,0 +1,45 @@ +## Ranger + +### Movement Keys + +- Scroll down: `j` +- Scroll up: `k` +- Go back one directory: `h` +- Go forward one directory *or* open the selected file: `l` +- Move to the top of the file list: `gg` +- Move to the bottom of the file list: `G` +- Go to the Nth file: `gg` +- Go to the home directory: `gh` +- Go to the root directory: `gr` +- Quit ranger: `q` + +### Useful Things + +- Search for files in the current directory: `/` +- Quickly find and automatically open files that match the pattern: `f` +- Manually choose software to open the selected file with: `r` +- Edit the selected file in your editor of choice: `E` +- Switch back to the terminal and cd to the current directory: `S` +- Toggle hidden files: `zh` + +### Other Commands + +- Enter command mode: `:` +- Change how files are sorted: `o` + - Sort by size: `s` + - Sort by file type: `t` + - Sort by last modified: `m` + - Sort by date created: `c` + - Sort by time accessed: `a` + - Sort alphabetically (default): `b` + - Reverse the results: `r` + - Randomize the results: `z` +- Rename the selected file: `:r ` +- Edit an existing filename: `A` + +### Other notes + +- You should never use ranger to manipulate files. Ranger does one thing and does it well: explore files. +- You should not use tabs in ranger. What you would do with tabs can be accomplished easier with the terminal. +- Although bookmarks are a feature in ranger, your file management should be simple enough that bookmarks aren't required. +