diff options
Diffstat (limited to 'doc/pydoc/ranger.commands.html')
-rw-r--r-- | doc/pydoc/ranger.commands.html | 151 |
1 files changed, 136 insertions, 15 deletions
diff --git a/doc/pydoc/ranger.commands.html b/doc/pydoc/ranger.commands.html index 46942090..1238a19b 100644 --- a/doc/pydoc/ranger.commands.html +++ b/doc/pydoc/ranger.commands.html @@ -1,6 +1,6 @@ + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module ranger.commands</title> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> @@ -8,7 +8,7 @@ <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.commands</strong></big></big></font></td ><td align=right valign=bottom -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/work/ranger/ranger/commands.py">/home/hut/work/ranger/ranger/commands.py</a></font></td></tr></table> +><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/commands.py">/home/hut/ranger/ranger/commands.py</a></font></td></tr></table> <p><tt># Copyright (c) 2009, 2010 hut <hut@lavabit.com><br> #<br> # Permission to use, copy, modify, and/or distribute this software for any<br> @@ -48,12 +48,14 @@ <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#chmod">chmod</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#edit">edit</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><dt><font face="helvetica, arial"><a href="ranger.commands.html#touch">touch</a> </font></dt></dl> </dd> </dl> @@ -72,7 +74,7 @@ <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -86,6 +88,8 @@ Methods defined here:<br> <hr> Data and other attributes defined here:<br> +<dl><dt><strong>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -120,7 +124,7 @@ need to press enter, as soon as there is <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -136,6 +140,8 @@ 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>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -172,7 +178,7 @@ Add those numbers to combine them. So a <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -188,6 +194,8 @@ 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>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -222,13 +230,17 @@ use the "current file" (where the cursor is)< <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> <dl><dt><a name="delete-execute"><strong>execute</strong></a>(self)</dt></dl> <hr> +Data and other attributes defined here:<br> +<dl><dt><strong>allow_abbrev</strong> = False</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> @@ -256,6 +268,54 @@ 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="edit">class <strong>edit</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="#edit">edit</a> <filename><br> + <br> +Opens the specified file in vim<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.commands.html#edit">edit</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="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="edit-execute"><strong>execute</strong></a>(self)</dt></dl> + +<dl><dt><a name="edit-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="edit-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> + +<dl><dt><a name="edit-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>allow_abbrev</strong> = True</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> @@ -268,7 +328,7 @@ Displays only the files which contain <string&g <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -284,6 +344,8 @@ 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>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -318,7 +380,7 @@ the file will be run automatically.<br> </tt></td> <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -326,7 +388,7 @@ 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> +<dl><dt><a name="find-tab"><strong>tab</strong></a> = _tab_directory_content(self)</dt></dl> <hr> Data and other attributes defined here:<br> @@ -338,6 +400,8 @@ 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>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -368,7 +432,7 @@ Looks for a string in all marked files o <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -384,6 +448,8 @@ 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>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -414,7 +480,7 @@ Creates a directory with the name <dirname>. <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -430,6 +496,8 @@ 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>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -460,7 +528,7 @@ Quits the program immediately.<br> </tt></td></tr> <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -476,6 +544,8 @@ 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>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -506,7 +576,7 @@ Changes the name of the currently highlighted  <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> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> @@ -522,6 +592,56 @@ 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>allow_abbrev</strong> = True</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="touch">class <strong>touch</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="#touch">touch</a> <fname><br> + <br> +Creates a file with the name <fname>.<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.commands.html#touch">touch</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="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="touch-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="touch-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> + +<dl><dt><a name="touch-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> + +<dl><dt><a name="touch-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>allow_abbrev</strong> = True</dl> + <dl><dt><strong>name</strong> = None</dl> <hr> @@ -543,8 +663,9 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-alias"><strong>alias</strong></a>(**kw)</dt></dl> +<td width="100%"><dl><dt><a name="-alias"><strong>alias</strong></a>(**kw)</dt><dd><tt>Create an alias for commands, eg: <a href="#-alias">alias</a>(<a href="#quit">quit</a>=exit)</tt></dd></dl> <dl><dt><a name="-command_generator"><strong>command_generator</strong></a>(start)</dt></dl> + <dl><dt><a name="-get_command"><strong>get_command</strong></a>(name, abbrev<font color="#909090">=True</font>)</dt></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> @@ -552,5 +673,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'>, 'chmod': <class 'ranger.commands.chmod'>, '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> +<td width="100%"><strong>by_name</strong> = {'cd': <class 'ranger.commands.cd'>, 'chmod': <class 'ranger.commands.chmod'>, 'delete': <class 'ranger.commands.delete'>, 'edit': <class 'ranger.commands.edit'>, 'filter': <class 'ranger.commands.filter'>, 'find': <class 'ranger.commands.find'>, 'grep': <class 'ranger.commands.grep'>, 'mkdir': <class 'ranger.commands.mkdir'>, 'quit': <class 'ranger.commands.quit'>, 'rename': <class 'ranger.commands.rename'>, ...}</td></tr></table> </body></html> \ No newline at end of file |