From 13311da4b1d238ac8e330bcc7a8edc6506ad0244 Mon Sep 17 00:00:00 2001 From: toonn Date: Wed, 2 Oct 2019 18:25:47 +0200 Subject: Document :trash command --- doc/ranger.1 | 8 +++++++- doc/ranger.pod | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'doc') 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 starting in the current directory. Creates an empty file with the name I, 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 Filters the current directory for files containing the letters in the -- cgit 1.4.1-2-gfad0