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

 
Modules
       
ranger.fsobject
os
shutil

 
Classes
       
ranger.shared.EnvironmentAware(ranger.shared.Awareness)
Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware)
ranger.shared.settings.SettingsAware(builtins.object)
Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware)

 
class Actions(ranger.shared.EnvironmentAware, ranger.shared.settings.SettingsAware)
    
Method resolution order:
Actions
ranger.shared.EnvironmentAware
ranger.shared.Awareness
ranger.shared.settings.SettingsAware
builtins.object

Methods defined here:
cd = enter_dir(self, path)
copy(self)
Copy the selected items
cut(self)
delete(self)
edit_file(self)
Calls execute_file with the current file and app='editor'
enter_bookmark(self, key)
Enter the bookmark with the name <key>
enter_dir(self, path)
Enter the directory at the given path
execute_file(self, files, app='', flags='', mode=0)
Execute a file.
app is the name of a method in Applications, without the "app_"
flags is a string consisting of applications.ALLOWED_FLAGS
mode is a positive integer.
Both flags and mode specify how the program is run.
exit(self)
Exit the program
force_load_preview(self)
handle_mouse(self)
Handle mouse-buttons if one was pressed
history_go(self, relative)
Move back and forth in the history
interrupt(self)
Waits a short time.
If CTRL+C is pressed while waiting, the program will be exited.
mark(self, all=False, toggle=False, val=None, movedown=None)
A wrapper for the directory.mark_xyz functions.
 
Arguments:
all - change all files of the current directory at once?
toggle - toggle the marked-status?
val - mark or unmark?
mkdir(self, name)
move_left(self, n=1)
Enter the parent directory
move_pointer(self, relative=0, absolute=None)
Move the pointer down by <relative> or to <absolute>
move_pointer_by_pages(self, relative)
Move the pointer down by <relative> pages
move_pointer_by_percentage(self, relative=0, absolute=None)
Move the pointer down by <relative>% or to <absolute>%
move_right(self, mode=0)
Enter the current directory or execute the current file
notify(self, text, duration=4, bad=False)
open_console(self, mode=':', string='')
Open the console if the current UI supports that
paste(self)
Paste the selected items into the current directory
redraw_window(self)
Redraw the window
reset(self)
Reset the filemanager, clearing the directory buffer
resize(self)
Update the size of the UI
scroll(self, relative)
Scroll down by <relative> lines
search_backward(self)
Search backward for the regexp in self.env.last_search
search_forward(self)
Search forward for the regexp in self.env.last_search
set_bookmark(self, key)
Set the bookmark with the name <key> to the current directory
sort(self, func=None,