about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-10-02 18:25:47 +0200
committertoonn <toonn@toonn.io>2019-10-02 20:24:01 +0200
commit13311da4b1d238ac8e330bcc7a8edc6506ad0244 (patch)
treec5a7904411df7674380a7b31f8b0b3ac1414b0af /doc
parent1946fb003b9dd8b45f2cb2e639a42b1e067df677 (diff)
downloadranger-13311da4b1d238ac8e330bcc7a8edc6506ad0244.tar.gz
Document :trash command
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.18
-rw-r--r--doc/ranger.pod7
2 files changed, 14 insertions, 1 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index e67354af..bf390a95 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -133,7 +133,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RANGER 1"
-.TH RANGER 1 "ranger-1.9.2" "2019-10-01" "ranger manual"
+.TH RANGER 1 "ranger-1.9.2" "2019-10-02" "ranger manual"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -1212,6 +1212,7 @@ ranger.  For your convenience, this is a list of the \*(L"public\*(R" commands i
 \& terminal
 \& tmap key command
 \& touch filename
+\& trash
 \& travel pattern
 \& tunmap keys...
 \& unmap keys...
@@ -1567,6 +1568,11 @@ Spawns the \fIx\-terminal-emulator\fR starting in the current directory.
 .IP "touch \fIfilename\fR" 2
 .IX Item "touch filename"
 Creates an empty file with the name \fIfilename\fR, unless it already exists.
+.IP "trash" 2
+.IX Item "trash"
+Move all files in the selection to the trash using rifle. ranger will ask for
+a confirmation if you attempt to trash multiple (marked) files or non-empty
+directories. This can be changed by modifying the setting \*(L"confirm_on_delete\*(R".
 .IP "travel \fIpattern\fR" 2
 .IX Item "travel pattern"
 Filters the current directory for files containing the letters in the
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 999a1f57..4bd99781 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -1266,6 +1266,7 @@ ranger.  For your convenience, this is a list of the "public" commands including
  terminal
  tmap key command
  touch filename
+ trash
  travel pattern
  tunmap keys...
  unmap keys...
@@ -1656,6 +1657,12 @@ Spawns the I<x-terminal-emulator> starting in the current directory.
 
 Creates an empty file with the name I<filename>, unless it already exists.
 
+=item trash
+
+Move all files in the selection to the trash using rifle. ranger will ask for
+a confirmation if you attempt to trash multiple (marked) files or non-empty
+directories. This can be changed by modifying the setting "confirm_on_delete".
+
 =item travel I<pattern>
 
 Filters the current directory for files containing the letters in the