From ecf5fe8847c68aee72f66529ee26f6cc7f3b5b11 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 2 Dec 2012 03:01:13 +0100 Subject: update documentation for commands --- doc/ranger.pod | 98 +++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 76 insertions(+), 22 deletions(-) (limited to 'doc/ranger.pod') diff --git a/doc/ranger.pod b/doc/ranger.pod index bb0abc9c..6903c030 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -473,6 +473,9 @@ The different types of settings and an example for each type: list | 1,2,3,4 none | none +You can view a list of all settings and their current values by pressing "3?" +in ranger. + =over =item autosave_bookmarks [bool] @@ -650,13 +653,63 @@ Enable this if key combinations with the Alt Key don't work for you. You can enter the commands in the console which is opened by pressing ":". +You can always get a list of the currently existing commands by typing "2?" in +ranger. For your convenience, this is a list of the "public" commands including their parameters, excluding descriptions: + + alias [newcommand] [oldcommand] + bulkrename + cd [directory] + chain command1[; command2[; command3...]] + chmod octal_number + cmap key command + console [-pSTARTPOSITION] command + copycmap key newkey [newkey2...] + copymap key newkey [newkey2...] + copypmap key newkey [newkey2...] + copytmap key newkey [newkey2...] + cunmap keys... + delete [confirmation] + edit [filename] + eval [-q] python_code + filter [string] + find pattern + grep pattern + load_copy_buffer + map key command + mark pattern + mkdir dirname + open_with [application] [flags] [mode] + pmap key command + punmap keys... + quit + quit! + relink newpath + rename newname + save_copy_buffer + search pattern + search_inc pattern + set option value + shell [-FLAGS] command + terminal + tmap key command + touch filename + tunmap keys... + unmap keys... + unmark pattern + There are additional commands which are directly translated to python functions, one for every method in the ranger.core.actions.Actions class. They are not documented here, since they are mostly for key bindings, not to be typed in by a user. Read the source if you are interested in them. +These are the public commands including their descriptions: + =over 2 +=item alias [I] [I] + +Copies the oldcommand as newcommand. + =item bulkrename This command opens a list of selected files in an external editor. After you @@ -673,7 +726,7 @@ typing ``. =item chain I[; I[; I...]] -Combines multiple commands into one, separated by columns. +Combines multiple commands into one, separated by semicolons. =item chmod I @@ -720,7 +773,7 @@ See C See C -=item cunmap I I +=item cunmap [I] Removes key mappings of the console. Works like the C command. @@ -750,7 +803,8 @@ Examples: =item filter [I] -Displays only the files which contain the I in their basename. +Displays only the files which contain the I in their basename. Running +this command without any parameter will reset the fitler. =item find I @@ -797,7 +851,7 @@ in their own sections. Binds keys for the pager. Works like the C command. -=item punmap I I +=item punmap [I] Removes key mappings of the pager. Works like the C command. @@ -810,15 +864,16 @@ Like quit!, but closes only this tab if multiple tabs are open. Quit ranger. The current directory will be bookmarked as ' so you can re-enter it by typing `` or '' the next time you start ranger. +=item relink I + +Change the link destination of the current symlink file to . First + will load the original link. + =item rename I Rename the current file. If a file with that name already exists, the renaming will fail. Also try the key binding A for appending something to a file name. -=item relink I - -Change the link destination of the current symlink file to . First will load the original link. - =item save_copy_buffer Save the copy buffer from I<~/.config/ranger/copy_buffer>. This can be used to @@ -835,20 +890,19 @@ Search files in the current directory that match the given (case insensitive) regular expression pattern. This command gets you to matching files as you type. -=item set I