ranger.commands
index
/home/hut/work/ranger/ranger/commands.py

 
Modules
       
os

 
Classes
       
builtins.object
parse
ranger.shared.FileManagerAware(ranger.shared.Awareness)
Command
cd
delete
delete
find
mkdir
quit

 
class Command(ranger.shared.FileManagerAware)
    Abstract command class
 
 
Method resolution order:
Command
ranger.shared.FileManagerAware
ranger.shared.Awareness
builtins.object

Methods defined here:
__init__(self, line, mode)
execute(self)
quick_open(self)
tab(self)

Data and other attributes defined here:
line = ''
mode = ':'
name = None

Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None

Data descriptors inherited from ranger.shared.Awareness:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class cd(Command)
    The cd command changes the directory. The command 'cd -' is
equivalent to typing ``. In the quick console, the directory
will be entered without the need to press enter, as soon as there
is one unambiguous match.
 
 
Method resolution order:
cd
Command
ranger.shared.FileManagerAware
ranger.shared.Awareness
builtins.object

Methods defined here:
execute(self)
quick_open(self)
tab(self)

Methods inherited from Command:
__init__(self, line, mode)

Data and other attributes inherited from Command:
line = ''
mode = ':'
name = None

Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None

Data descriptors inherited from ranger.shared.Awareness:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class delete(Command)
    
Method resolution order:
delete
Command
ranger.shared.FileManagerAware
ranger.shared.Awareness
builtins.object

Methods defined here:
execute(self)

Methods inherited from Command:
__init__(self, line, mode)
quick_open(self)
tab(self)

Data and other attributes inherited from Command:
line = ''
mode = ':'
name = None

Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None

Data descriptors inherited from ranger.shared.Awareness:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class find(Command)
    The find command will attempt to find a partial, case insensitive
match in the filenames of the current directory. In the quick command
console, once there is one unambiguous match, the file will be run
automatically.
 
 
Method resolution order:
find
Command
ranger.shared.FileManagerAware
ranger.shared.Awareness
builtins.object

Methods defined here:
execute(self)
quick_open(self)

Data and other attributes defined here:
count = 0

Methods inherited from Command:
__init__(self, line, mode)
tab(self)

Data and other attributes inherited from Command:
line = ''
mode = ':'
name = None

Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None

Data descriptors inherited from ranger.shared.Awareness:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class mkdir(Command)
    
Method resolution order:
mkdir
Command
ranger.shared.FileManagerAware
ranger.shared.Awareness
builtins.object

Methods defined here:
execute(self)

Methods inherited from Command:
__init__(self, line, mode)
quick_open(self)
tab(self)

Data and other attributes inherited from Command:
line = ''
mode = ':'
name = None

Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None

Data descriptors inherited from ranger.shared.Awareness:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class parse(builtins.object)
    Parse commands and extract information
 
  Methods defined here:
__add__(self, newpart)
__init__(self, line)
chunk(self, n, otherwise='')

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class quit(Command)
    Quits the program.
 
 
Method resolution order:
quit
Command
ranger.shared.FileManagerAware
ranger.shared.Awareness
builtins.object

Methods defined here:
execute(self)

Methods inherited from Command:
__init__(self, line, mode)
quick_open(self)
tab(self)

Data and other attributes inherited from Command:
line = ''
mode = ':'
name = None

Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None

Data descriptors inherited from ranger.shared.Awareness:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
var = class delete(Command)
    
Method resolution order:
delete
Command
ranger.shared.FileManagerAware
ranger.shared.Awareness
builtins.object

Methods defined here:
execute(self)

Methods inherited from Command:
__init__(self, line, mode)
quick_open(self)
tab(self)

Data and other attributes inherited from Command:
line = ''
mode = ':'
name = None

Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None

Data descriptors inherited from ranger.shared.Awareness:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
alias(**kw)

 
Data
        by_name = {'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'>}
varname = 'delete'