ranger.defaults.commands
index
../../ranger/defaults/commands.py

# -*- coding: utf-8 -*-
# Copyright (C) 2009, 2010, 2011  Roman Zimbelmann <romanz@lavabit.com>
# This configuration file is licensed under the same terms as ranger.
# ===================================================================
# This file contains ranger's commands.
# It's all in python; lines beginning with # are comments.
#
# Note that additional commands are automatically generated from the methods
# of the class ranger.core.actions.Actions.
#
# You can customize commands in the file ~/.config/ranger/commands.py.
# It has the same syntax as this file.  In fact, you can just copy this
# file there with `ranger --copy-config=commands' and make your modifications.
# But make sure you update your configs when you update ranger.
#
# ===================================================================
# Every class defined here which is a subclass of `Command' will be used as a
# command in ranger.  Several methods are defined to interface with ranger:
#   execute(): called when the command is executed.
#   cancel():  called when closing the console.
#   tab():     called when <TAB> is pressed.
#   quick():   called after each keypress.
#
# The return values for tab() can be either:
#   None: There is no tab completion
#   A string: Change the console to this string
#   A list/tuple/generator: cycle through every item in it
#
# The return value for quick() can be:
#   False: Nothing happens
#   True: Execute the command afterwards
#
# The return value for execute() and cancel() doesn't matter.
#
# ===================================================================
# Commands have certain attributes and methods that facilitate parsing of
# the arguments:
#
# self.line: The whole line that was written in the console.
# self.args: A list of all (space-separated) arguments to the command.
# self.quantifier: If this command was mapped to the key "X" and
#      the user pressed 6X, self.quantifier will be 6.
# arg(n): The n-th argument, or an empty string if it doesn't exist.
# rest(n): The n-th argument plus everything that followed.  For example,
#      If the command was "search foo bar a b c", rest(2) will be "bar a b c"
# start(n): The n-th argument and anything before it.  For example,
#      If the command was "search foo bar a b c", rest(2) will be "bar a b c"
#
# ===================================================================
# And this is a little reference for common ranger functions and objects:
#
# self.fm: A reference to the "fm" object which contains most information
#      about ranger.
# self.fm.notify(string): Print the given string on the screen.
# self.fm.notify(string, bad=True): Print the given string in RED.
# self.fm.reload_cwd(): Reload the current working directory.
# self.fm.env.cwd: The current working directory. (A File object.)
# self.fm.env.cf: The current file. (A File object too.)
# self.fm.env.cwd.get_selection(): A list of all selected files.
# self.fm.execute_console(string): Execute the string as a ranger command.
# self.fm.open_console(string): Open the console with the given string
#      already typed in for you.
# self.fm.move(direction): Moves the cursor in the given direction, which
#      can be something like down=3, up=5, right=1, left=1, to=6, ...
#
# File objects (for example self.fm.env.cf) have these useful attributes and
# methods:
#
# cf.path: The path to the file.
# cf.basename: The base name only.
# cf.load_content(): Force a loading of the directories content (which
#      obviously works with directories only)
# cf.is_directory: True/False depending on whether it's a directory.
#
# For advanced commands it is unavoidable to dive a bit into the source code
# of ranger.
# ===================================================================

 
Modules
       
ranger.api.apps
os
ranger
re

 
Classes
       
ranger.api.commands.Command(ranger.core.shared.FileManagerAware)
alias
bulkrename
cd
chain
chmod
console
copymap
copycmap
copypmap
copytmap
delete
edit
eval_
filter
find
grep
help_
load_copy_buffer
map_
cmap
pmap
tmap
mark
unmark
mkdir
open_with
quit
quitall
quit_bang
relink
rename
save_copy_buffer
search
search_inc
set_
shell
terminal
touch
unmap
cunmap
punmap
tunmap

 
class alias(ranger.api.commands.Command)
    :alias <newcommand> <oldcommand>
 
Copies the oldcommand as newcommand.
 
 
Method resolution order:
alias
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class bulkrename(ranger.api.commands.Command)
    :bulkrename
 
This command opens a list of selected files in an external editor.
After you edit and save the file, it will generate a shell script
which does bulk renaming according to the changes you did in the file.
 
This shell script is opened in an editor for you to review.
After you close it, it will be executed.
 
 
Method resolution order:
bulkrename
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class cd(ranger.api.commands.Command)
    :cd [-r] <dirname>
 
The cd command changes the directory.
The command 'cd -' is equivalent to typing ``.
Using the option "-r" will get you to the real path.
 
 
Method resolution order:
cd
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

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

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class chain(ranger.api.commands.Command)
    :chain <command1>; <command2>; ...
Calls multiple commands at once, separated by semicolons.
 
 
Method resolution order:
chain
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class chmod(ranger.api.commands.Command)
    :chmod <octal number>
 
Sets the permissions of the selection to the octal number.
 
The octal number is between 0 and 777. The digits specify the
permissions for 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.
 
 
Method resolution order:
chmod
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class cmap(map_)
    :cmap <keysequence> <command>
Maps a command to a keysequence in the "console" context.
 
Example:
cmap <ESC> console_close
cmap <C-x> console_type test
 
 
Method resolution order:
cmap
map_
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'console'

Methods inherited from map_:
execute(self)

Data and other attributes inherited from map_:
name = 'map'
resolve_macros = False

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
quantifier = None

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

 
class console(ranger.api.commands.Command)
    :console <command>
 
Open the console with the given command.
 
 
Method resolution order:
console
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class copycmap(copymap)
    :copycmap <keys> <newkeys1> [<newkeys2>...]
Copies a "console" keybinding from <keys> to <newkeys>
 
 
Method resolution order:
copycmap
copymap
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'console'

Methods inherited from copymap:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class copymap(ranger.api.commands.Command)
    :copymap <keys> <newkeys1> [<newkeys2>...]
Copies a "browser" keybinding from <keys> to <newkeys>
 
 
Method resolution order:
copymap
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
context = 'browser'

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class copypmap(copymap)
    :copypmap <keys> <newkeys1> [<newkeys2>...]
Copies a "pager" keybinding from <keys> to <newkeys>
 
 
Method resolution order:
copypmap
copymap
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'pager'

Methods inherited from copymap:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class copytmap(copymap)
    :copycmap <keys> <newkeys1> [<newkeys2>...]
Copies a "taskview" keybinding from <keys> to <newkeys>
 
 
Method resolution order:
copytmap
copymap
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'taskview'

Methods inherited from copymap:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class cunmap(unmap)
    :cunmap <keys> [<keys2>, ...]
Remove the given "console" mappings
 
 
Method resolution order:
cunmap
unmap
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'browser'

Methods inherited from unmap:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class delete(ranger.api.commands.Command)
    :delete
 
Tries to delete the selection.
 
"Selection" is defined as all the "marked files" (by default, you
can mark files with space or v). If there are no marked files,
use the "current file" (where the cursor is)
 
When attempting to delete non-empty directories or multiple
marked files, it will require a confirmation: The last word in
the line has to start with a 'y'.  This may look like:
:delete yes
:delete seriously? yeah!
 
 
Method resolution order:
delete
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
allow_abbrev = False

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class edit(ranger.api.commands.Command)
    :edit <filename>
 
Opens the specified file in vim
 
 
Method resolution order:
edit
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

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

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class eval_(ranger.api.commands.Command)
    :eval [-q] <python code>
 
Evaluates the python code.
`fm' is a reference to the FM instance.
To display text, use the function `p'.
 
Examples:
:eval fm
:eval len(fm.env.directories)
:eval p("Hello World!")
 
 
Method resolution order:
eval_
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
name = 'eval'
resolve_macros = False

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
quantifier = None

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

 
class filter(ranger.api.commands.Command)
    :filter <string>
 
Displays only the files which contain <string> in their basename.
 
 
Method resolution order:
filter
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class find(ranger.api.commands.Command)
    :find <string>
 
The find command will attempt to find a partial, case insensitive
match in the filenames of the current directory and execute the
file automatically.
 
 
Method resolution order:
find
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)
quick(self)
tab = _tab_directory_content(self)

Data and other attributes defined here:
count = 0

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class grep(ranger.api.commands.Command)
    :grep <string>
 
Looks for a string in all marked files or directories
 
 
Method resolution order:
grep
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class help_(ranger.api.commands.Command)
    :help
 
Display ranger's manual page.
 
 
Method resolution order:
help_
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
name = 'help'

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
quantifier = None
resolve_macros = True

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

 
class load_copy_buffer(ranger.api.commands.Command)
    :load_copy_buffer
 
Load the copy buffer from confdir/copy_buffer
 
 
Method resolution order:
load_copy_buffer
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
copy_buffer_filename = 'copy_buffer'

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class map_(ranger.api.commands.Command)
    :map <keysequence> <command>
Maps a command to a keysequence in the "browser" context.
 
Example:
map j move down
map J move down 10
 
 
Method resolution order:
map_
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
context = 'browser'
name = 'map'
resolve_macros = False

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
quantifier = None

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

 
class mark(ranger.api.commands.Command)
    :mark <regexp>
 
Mark all files matching a regular expression.
 
 
Method resolution order:
mark
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
do_mark = True

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class mkdir(ranger.api.commands.Command)
    :mkdir <dirname>
 
Creates a directory with the name <dirname>.
 
 
Method resolution order:
mkdir
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class open_with(ranger.api.commands.Command)
    
Method resolution order:
open_with
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

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

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class pmap(map_)
    :pmap <keysequence> <command>
Maps a command to a keysequence in the "pager" context.
 
 
Method resolution order:
pmap
map_
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'pager'

Methods inherited from map_:
execute(self)

Data and other attributes inherited from map_:
name = 'map'
resolve_macros = False

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
quantifier = None

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

 
class punmap(unmap)
    :punmap <keys> [<keys2>, ...]
Remove the given "pager" mappings
 
 
Method resolution order:
punmap
unmap
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'pager'

Methods inherited from unmap:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class quit(ranger.api.commands.Command)
    :quit
 
Closes the current tab.  If there is only one tab, quit the program.
 
 
Method resolution order:
quit
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class quit_bang(quitall)
    :quit!
 
Quits the program immediately.
 
 
Method resolution order:
quit_bang
quitall
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
allow_abbrev = False
name = 'quit!'

Methods inherited from quitall:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
escape_macros_for_shell = False
quantifier = None
resolve_macros = True

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

 
class quitall(ranger.api.commands.Command)
    :quitall
 
Quits the program immediately.
 
 
Method resolution order:
quitall
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class relink(ranger.api.commands.Command)
    :relink <newpath>
 
Changes the linked path of the currently highlighted symlink to <newpath>
 
 
Method resolution order:
relink
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

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

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class rename(ranger.api.commands.Command)
    :rename <newname>
 
Changes the name of the currently highlighted file to <newname>
 
 
Method resolution order:
rename
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

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

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class save_copy_buffer(ranger.api.commands.Command)
    :save_copy_buffer
 
Save the copy buffer to confdir/copy_buffer
 
 
Method resolution order:
save_copy_buffer
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
copy_buffer_filename = 'copy_buffer'

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class search(ranger.api.commands.Command)
    
Method resolution order:
search
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class search_inc(ranger.api.commands.Command)
    
Method resolution order:
search_inc
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
quick(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
execute(self)
Override this
parse_setting_line(self)
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class set_(ranger.api.commands.Command)
    :set <option name>=<python expression>
 
Gives an option a new value.
 
 
Method resolution order:
set_
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

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

Data and other attributes defined here:
name = 'set'

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
quantifier = None
resolve_macros = True

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

 
class shell(ranger.api.commands.Command)
    
Method resolution order:
shell
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

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

Data and other attributes defined here:
escape_macros_for_shell = True

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
name = None
quantifier = None
resolve_macros = True

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

 
class terminal(ranger.api.commands.Command)
    :terminal
 
Spawns an "x-terminal-emulator" starting in the current directory.
 
 
Method resolution order:
terminal
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class tmap(map_)
    :tmap <keysequence> <command>
Maps a command to a keysequence in the "taskview" context.
 
 
Method resolution order:
tmap
map_
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'taskview'

Methods inherited from map_:
execute(self)

Data and other attributes inherited from map_:
name = 'map'
resolve_macros = False

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
quantifier = None

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

 
class touch(ranger.api.commands.Command)
    :touch <fname>
 
Creates a file with the name <fname>.
 
 
Method resolution order:
touch
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class tunmap(unmap)
    :tunmap <keys> [<keys2>, ...]
Remove the given "taskview" mappings
 
 
Method resolution order:
tunmap
unmap
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
context = 'taskview'

Methods inherited from unmap:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class unmap(ranger.api.commands.Command)
    :unmap <keys> [<keys2>, ...]
Remove the given "browser" mappings
 
 
Method resolution order:
unmap
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Methods defined here:
execute(self)

Data and other attributes defined here:
context = 'browser'

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
class unmark(mark)
    :unmark <regexp>
 
Unmark all files matching a regular expression.
 
 
Method resolution order:
unmark
mark
ranger.api.commands.Command
ranger.core.shared.FileManagerAware
ranger.core.shared.Awareness
__builtin__.object

Data and other attributes defined here:
do_mark = False

Methods inherited from mark:
execute(self)

Methods inherited from ranger.api.commands.Command:
__init__(self, line, quantifier=None)
arg(self, n)
Returns the nth space separated word
cancel(self)
Override this
parse_setting_line(self)
quick(self)
Override this
rest(self, n)
Returns everything from and after arg(n)
shift(self)
start(self, n)
Returns everything until (inclusively) arg(n)
tab(self)
Override this
tabinsert(self, word)

Class methods inherited from ranger.api.commands.Command:
get_name(self) from __builtin__.type

Data and other attributes inherited from ranger.api.commands.Command:
allow_abbrev = True
escape_macros_for_shell = False
name = None
quantifier = None
resolve_macros = True

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

 
Data
        ALLOWED_FLAGS = 'sdpwcrtSDPWCRT'
DELETE_WARNING = 'delete seriously? '
SETTINGS_RE = <_sre.SRE_Pattern object>