diff options
Diffstat (limited to 'doc/ranger.pod')
-rw-r--r-- | doc/ranger.pod | 90 |
1 files changed, 49 insertions, 41 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod index 246dd4ab..1d9c022d 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -7,10 +7,12 @@ ranger - visual file manager =head1 SYNOPSIS -B<ranger> [B<--help>] [B<--version>] [B<--debug>] [B<--clean>] -[B<--list-unused-keys>] [B<--fail-unless-cd>] [B<--choosedir>=I<targetfile>] -[B<--choosefile>=I<targetfile>] [B<--copy-config>=I<file>] [B<--mode>=I<mode>] -[B<--flags>=I<flags>] [I<path/filename>] +B<ranger> [B<--version>] [B<--help>] [B<--debug>] [B<--clean>] +[B<--confdir>=I<directory>] [B<--copy-config>=I<which>] +[B<--choosefile>=I<target>] [B<--choosefiles>=I<target>] +[B<--choosedir>=I<target>] [B<--selectfile>=I<filepath>] +[B<--list-unused-keys>] [B<--list-tagged-files>=I<tag>] +[B<--profile>] [B<--cmd>=I<command>] [I<path>] @@ -50,6 +52,16 @@ Activate the clean mode: ranger will not access or create any configuration files nor will it leave any traces on your system. This is useful when your configuration is broken, when you want to avoid clutter, etc. +=item B<-r> I<dir>, B<--confdir>=I<dir> + +Change the configuration directory of ranger from ~/.config/ranger to "dir". + +=item B<--copy-config>=I<file> + +Create copies of the default configuration files in your local configuration +directory. Existing ones will not be overwritten. Possible values: I<all>, +I<rc>, I<commands>, I<scope>. + =item B<--choosefile>=I<targetfile> Allows you to pick a file with ranger. This changes the behavior so that when @@ -71,12 +83,6 @@ write the last visited directory into I<targetfile>. Open ranger with I<targetfile> selected. -=item B<--copy-config>=I<file> - -Create copies of the default configuration files in your local configuration -directory. Existing ones will not be overwritten. Possible values: I<all>, -I<rc>, I<commands>, I<scope>. - =item B<--list-unused-keys> List common keys which are not bound to any action in the "browser" context. @@ -88,21 +94,9 @@ use the key code returned by C<getch()>. List all files which are tagged with the given tag. Note: Tags are single characters. The default tag is "*" -=item B<--fail-unless-cd> - -Return the exit code 1 if ranger is used to run a file instead of used for file -browsing. (For example, "ranger --fail-unless-cd test.txt" returns 1.) - -=item B<-m> I<n>, B<--mode>=I<n> +=item B<--profile> -When a filename is supplied, run it in mode I<n>. This has no effect unless -the execution of this file type is explicitly handled in the configuration. - -=item B<-f> I<flags>, B<--flags>=I<flags> - -When a filename is supplied, run it with the given I<flags> to modify -behavior. The execution of this file type is explicitly handled in the -configuration. +Print statistics of CPU usage on exit. =item B<--cmd>=I<command> @@ -618,6 +612,10 @@ Preview directories in the preview column? Preview files in the preview column? +=item preview_images [bool] + +Draw images inside the console with the external program w3mimgpreview? + =item preview_script [string, none] Which script should handle generating previews? If the file doesn't exist, or @@ -668,7 +666,12 @@ Reverse the order of files? Which sorting mechanism should be used? Choose one of B<atime>, B<basename>, B<ctime>, B<mtime>, B<natural>, B<type>, B<size> -Note: You can reverse the order by using an uppercase O in the key combination. +Note: You can reverse the order by typing an uppercase second letter in the key +combination, e.g. "oN" to sort from Z to A. + +=item status_bar_on_top [bool] + +Put the status bar at the top of the window? =item tilde_in_titlebar [bool] @@ -729,7 +732,7 @@ ranger. For your convenience, this is a list of the "public" commands including copypmap key newkey [newkey2...] copytmap key newkey [newkey2...] cunmap keys... - delete [confirmation] + delete edit [filename] eval [-q] python_code filter [string] @@ -756,6 +759,7 @@ ranger. For your convenience, this is a list of the "public" commands including terminal tmap key command touch filename + travel pattern tunmap keys... unmap keys... unmark pattern @@ -801,9 +805,9 @@ the user, the group and others. A 1 permits execution, a 2 permits writing, a 4 permits reading. Add those numbers to combine them. So a 7 permits everything. -Key bindings in the form of [-+]<who><what> and =<octal> also exist. For +Key bindings in the form of [-+]<who><what> and <octal>= also exist. For example, B<+ar> allows reading for everyone, -ow forbids others to write and -=777 allows everything. +777= allows everything. See also: man 1 chmod @@ -841,14 +845,11 @@ See C<copymap> Removes key mappings of the console. Works like the C<unmap> command. -=item delete [I<confirmation>] +=item delete Destroy all files in the selection with a roundhouse kick. ranger will ask for a confirmation if you attempt to delete multiple (marked) files or non-empty -directories. - -When asking for confirmation, this command will only proceed if the last given -word starts with a `y'. +directories. This can be changed by modifying the setting "confirm_on_delete". =item edit [I<filename>] @@ -872,9 +873,9 @@ this command without any parameter will reset the fitler. =item find I<pattern> -Search files in the current directory that match the given (case-insensitive) -regular expression pattern as you type. Once there is an unambiguous result, -it will be run immediately. (Or entered, if it's a directory.) +Search files in the current directory that contain the given (case-insensitive) +string in their name as you type. Once there is an unambiguous result, it will +be run immediately. (Or entered, if it's a directory.) =item grep I<pattern> @@ -912,9 +913,8 @@ Creates a directory with the name I<dirname>. =item open_with [I<application>] [I<flags>] [I<mode>] Open the selected files with the given application, unless it is omitted, in -which case the default application is used. I<flags> are characters out of -"sdpcwSDPCW" and I<mode> is any positive integer. Their meanings are discussed -in their own sections. +which case the default application is used. I<flags> and I<mode> have their +own section in the man page. =item pmap I<key> I<command> @@ -945,7 +945,7 @@ will fail. Also try the key binding A for appending something to a file name. =item save_copy_buffer -Save the copy buffer from I<~/.config/ranger/copy_buffer>. This can be used to +Save the copy buffer to I<~/.config/ranger/copy_buffer>. This can be used to pass the list of copied files to another ranger instance. =item search I<pattern> @@ -995,6 +995,14 @@ Binds keys for the taskview. Works like the C<map> command. Creates an empty file with the name I<filename>, unless it already exists. +=item travel I<pattern> + +Filters the current directory for files containing the letters in the +string, possibly with other letters in between. The filter is applied as +you type. When only one directory is left, it is entered and the console +is automatially reopened, allowing for fast travel. +To close the console, press ESC or execute a file. + =item tunmap [I<keys ...>] Removes key mappings of the taskview. Works like the C<unmap> command. @@ -1121,7 +1129,7 @@ program out of "vim", "emacs" and "nano". =item SHELL Defines the shell that ranger is going to use with the :shell command and -the "S" key. Defaults to "bash". +the "S" key. Defaults to "/bin/sh". =item TERMCMD |