| |
- ranger.shared.FileManagerAware(ranger.shared.Awareness)
-
- Command
-
- cd
- delete
- filter
- find
- grep
- mkdir
- quit
- rename
class delete(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) |
|
- Method resolution order:
- delete
- Command
- ranger.shared.FileManagerAware
<<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ranger.defaults.apps</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.defaults.html"><font color="#ffffff">defaults</font></a>.apps</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/ranger/ranger/defaults/apps.py">/home/hut/ranger/ranger/defaults/apps.py</a></font></td></tr></table>
<p><tt>This is the default ranger configuration file for filetype detection<br>
and application handling.<br>
<br>
You can place this file in your ~/.ranger/ directory and it will be used<br>
instead of this one. Though, to minimize your effort when upgrading ranger,<br>
you may want to subclass <a href="#CustomApplications">CustomApplications</a> rather than making a full copy.<br>
<br>
This example modifies the behaviour of "feh" and adds a custom media player:<br>
<br>
#### start of the ~/.ranger/apps.py example<br>
from ranger.defaults.apps import <a href="#CustomApplications">CustomApplications</a> as DefaultApps<br>
from ranger.api.apps import *<br>
<br>
class <a href="#CustomApplications">CustomApplications</a>(DefaultApps):<br>
def app_kaffeine(self, c):<br>
&
| |