diff options
Diffstat (limited to 'doc/pydoc/ranger.commands.html')
-rw-r--r-- | doc/pydoc/ranger.commands.html | 217 |
1 files changed, 139 insertions, 78 deletions
diff --git a/doc/pydoc/ranger.commands.html b/doc/pydoc/ranger.commands.html index d89a7ff3..f41c3a1a 100644 --- a/doc/pydoc/ranger.commands.html +++ b/doc/pydoc/ranger.commands.html @@ -17,8 +17,9 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.widgets.console_mode.html">ranger.gui.widgets.console_mode</a><br> +</td><td width="25%" valign=top><a href="os.html">os</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -26,12 +27,6 @@ <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="ranger.commands.html#parse">parse</a> -</font></dt></dl> -</dd> <dt><font face="helvetica, arial"><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>(<a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>) </font></dt><dd> <dl> @@ -40,10 +35,12 @@ <dl> <dt><font face="helvetica, arial"><a href="ranger.commands.html#cd">cd</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#delete">delete</a> -</font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#delete">delete</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#filter">filter</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#find">find</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#grep">grep</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#mkdir">mkdir</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#quit">quit</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#rename">rename</a> </font></dt></dl> </dd> </dl> @@ -68,18 +65,14 @@ Methods defined here:<br> <dl><dt><a name="Command-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="Command-execute"><strong>execute</strong></a>(self)</dt></dl> +<dl><dt><a name="Command-execute"><strong>execute</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="Command-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="Command-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="Command-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="Command-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes defined here:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -101,10 +94,13 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#000000" face="helvetica, arial"><a name="cd">class <strong>cd</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>The <a href="#cd">cd</a> command changes the directory. The command '<a href="#cd">cd</a> -' is<br> -equivalent to typing ``. In the quick console, the directory<br> -will be entered without the need to press enter, as soon as there<br> -is one unambiguous match.<br> </tt></td></tr> +<td colspan=2><tt>:<a href="#cd">cd</a> <dirname><br> + <br> +The <a href="#cd">cd</a> command changes the directory.<br> +The command '<a href="#cd">cd</a> -' is equivalent to typing ``.<br> + <br> +In the quick console, the directory will be entered without the<br> +need to press enter, as soon as there is one unambiguous match.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.commands.html#cd">cd</a></dd> @@ -127,10 +123,6 @@ Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -151,7 +143,15 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="delete">class <strong>delete</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>:<a href="#delete">delete</a><br> + <br> +Tries to <a href="#delete">delete</a> the selection.<br> + <br> +"Selection" is defined as all the "marked files" (by default, you<br> +can mark files with space or v). If there are no marked files,<br> +use the "current file" (where the cursor is)<br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.commands.html#delete">delete</a></dd> <dd><a href="ranger.commands.html#Command">Command</a></dd> @@ -167,16 +167,58 @@ Methods defined here:<br> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <dl><dt><a name="delete-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="delete-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="delete-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="delete-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="delete-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> +<dl><dt><strong>name</strong> = None</dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> + +<hr> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="filter">class <strong>filter</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>:<a href="#filter">filter</a> <string><br> + <br> +Displays only the files which contain <string> in their basename.<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.commands.html#filter">filter</a></dd> +<dd><a href="ranger.commands.html#Command">Command</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="filter-execute"><strong>execute</strong></a>(self)</dt></dl> + +<hr> +Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> +<dl><dt><a name="filter-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> + +<dl><dt><a name="filter-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><strong>mode</strong> = ':'</dl> +<dl><dt><a name="filter-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> +<hr> +Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <dl><dt><strong>name</strong> = None</dl> <hr> @@ -198,10 +240,13 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#000000" face="helvetica, arial"><a name="find">class <strong>find</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>The <a href="#find">find</a> command will attempt to <a href="#find">find</a> a partial, case insensitive<br> -match in the filenames of the current directory. In the quick command<br> -console, once there is one unambiguous match, the file will be run<br> -automatically.<br> </tt></td></tr> +<td colspan=2><tt>:<a href="#find">find</a> <string><br> + <br> +The <a href="#find">find</a> command will attempt to <a href="#find">find</a> a partial, case insensitive<br> +match in the filenames of the current directory.<br> + <br> +In the quick command console, once there is one unambiguous match,<br> +the file will be run automatically.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.commands.html#find">find</a></dd> @@ -216,6 +261,8 @@ Methods defined here:<br> <dl><dt><a name="find-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="find-tab"><strong>tab</strong></a>(self)</dt></dl> + <hr> Data and other attributes defined here:<br> <dl><dt><strong>count</strong> = 0</dl> @@ -224,14 +271,8 @@ Data and other attributes defined here:<br> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <dl><dt><a name="find-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="find-tab"><strong>tab</strong></a>(self)</dt></dl> - <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -250,11 +291,15 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="mkdir">class <strong>mkdir</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="grep">class <strong>grep</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>:<a href="#grep">grep</a> <string><br> + <br> +Looks for a string in all marked files or directories<br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="ranger.commands.html#mkdir">mkdir</a></dd> +<dd><a href="ranger.commands.html#grep">grep</a></dd> <dd><a href="ranger.commands.html#Command">Command</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> @@ -262,22 +307,18 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh </dl> <hr> Methods defined here:<br> -<dl><dt><a name="mkdir-execute"><strong>execute</strong></a>(self)</dt></dl> +<dl><dt><a name="grep-execute"><strong>execute</strong></a>(self)</dt></dl> <hr> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><a name="mkdir-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> +<dl><dt><a name="grep-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="mkdir-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="grep-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="mkdir-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="grep-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -296,20 +337,42 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="parse">class <strong>parse</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="mkdir">class <strong>mkdir</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>Parse commands and extract information<br> </tt></td></tr> +<td colspan=2><tt>:<a href="#mkdir">mkdir</a> <dirname><br> + <br> +Creates a directory with the name <dirname>.<br> </tt></td></tr> <tr><td> </td> -<td width="100%">Methods defined here:<br> -<dl><dt><a name="parse-__add__"><strong>__add__</strong></a>(self, newpart)</dt></dl> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.commands.html#mkdir">mkdir</a></dd> +<dd><a href="ranger.commands.html#Command">Command</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="mkdir-execute"><strong>execute</strong></a>(self)</dt></dl> -<dl><dt><a name="parse-__init__"><strong>__init__</strong></a>(self, line)</dt></dl> +<hr> +Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> +<dl><dt><a name="mkdir-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> + +<dl><dt><a name="mkdir-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> + +<dl><dt><a name="mkdir-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> +<dl><dt><strong>name</strong> = None</dl> -<dl><dt><a name="parse-chunk"><strong>chunk</strong></a>(self, n, otherwise<font color="#909090">=''</font>)</dt></dl> +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> <hr> -Data descriptors defined here:<br> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary for instance variables (if defined)</tt></dd> </dl> @@ -323,7 +386,9 @@ Data descriptors defined here:<br> <font color="#000000" face="helvetica, arial"><a name="quit">class <strong>quit</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>Quits the program.<br> </tt></td></tr> +<td colspan=2><tt>:<a href="#quit">quit</a><br> + <br> +Quits the program immediately.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.commands.html#quit">quit</a></dd> @@ -340,16 +405,12 @@ Methods defined here:<br> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <dl><dt><a name="quit-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="quit-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="quit-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="quit-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="quit-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -368,11 +429,15 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><strong>var</strong> = <a name="var">class delete</a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="rename">class <strong>rename</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>:<a href="#rename">rename</a> <newname><br> + <br> +Changes the name of the currently highlighted file to <newname><br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="ranger.commands.html#delete">delete</a></dd> +<dd><a href="ranger.commands.html#rename">rename</a></dd> <dd><a href="ranger.commands.html#Command">Command</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> @@ -380,22 +445,18 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh </dl> <hr> Methods defined here:<br> -<dl><dt><a name="delete-execute"><strong>execute</strong></a>(self)</dt></dl> +<dl><dt><a name="rename-execute"><strong>execute</strong></a>(self)</dt></dl> + +<dl><dt><a name="rename-tab"><strong>tab</strong></a>(self)</dt></dl> <hr> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><a name="delete-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> - -<dl><dt><a name="delete-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="rename-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="delete-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="rename-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -418,6 +479,7 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> <td width="100%"><dl><dt><a name="-alias"><strong>alias</strong></a>(**kw)</dt></dl> + <dl><dt><a name="-command_generator"><strong>command_generator</strong></a>(start)</dt></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> @@ -425,6 +487,5 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>by_name</strong> = {'cd': <class 'ranger.commands.cd'>, 'delete': <class 'ranger.commands.delete'>, 'find': <class 'ranger.commands.find'>, 'mkdir': <class 'ranger.commands.mkdir'>, 'q': <class 'ranger.commands.quit'>, 'quit': <class 'ranger.commands.quit'>}<br> -<strong>varname</strong> = 'delete'</td></tr></table> +<td width="100%"><strong>by_name</strong> = {'cd': <class 'ranger.commands.cd'>, 'delete': <class 'ranger.commands.delete'>, 'filter': <class 'ranger.commands.filter'>, 'find': <class 'ranger.commands.find'>, 'grep': <class 'ranger.commands.grep'>, 'mkdir': <class 'ranger.commands.mkdir'>, 'q': <class 'ranger.commands.quit'>, 'quit': <class 'ranger.commands.quit'>, 'rename': <class 'ranger.commands.rename'>}</td></tr></table> </body></html> \ No newline at end of file |