summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-06-21 04:33:58 +0200
committerhut <hut@lavabit.com>2013-06-21 04:33:58 +0200
commit42c24c7cafb43314e61e474a88743b1038f9a27f (patch)
tree1a99fdef78b360529db6272f737219ade8244e04 /doc
parentc0b14f2b6e025c1cf22dfe9f4c7718d5beace6df (diff)
downloadranger-42c24c7cafb43314e61e474a88743b1038f9a27f.tar.gz
ranger.1: more exhaustive documentation for :open_with
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.19
-rw-r--r--doc/ranger.pod9
2 files changed, 14 insertions, 4 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index d2a25aaa..ead041f7 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -889,8 +889,13 @@ Creates a directory with the name \fIdirname\fR.
 .IP "open_with [\fIapplication\fR] [\fIflags\fR] [\fImode\fR]" 2
 .IX Item "open_with [application] [flags] [mode]"
 Open the selected files with the given application, unless it is omitted, in
-which case the default application is used.  \fIflags\fR and \fImode\fR have their
-own section in the man page.
+which case the default application is used.  \fIflags\fR change the way the
+application is executed and are described in their own section in this man
+page.  The \fImode\fR is a number that specifies which application to use.  The list
+of applications is generated by the external file opener \*(L"rifle\*(R" and can be
+displayed when pressing \*(L"r\*(R" in ranger.
+.Sp
+Note that if you specify an application, the mode is ignored.
 .IP "pmap \fIkey\fR \fIcommand\fR" 2
 .IX Item "pmap key command"
 Binds keys for the pager. Works like the \f(CW\*(C`map\*(C'\fR command.
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 3a3c9052..3100ad9d 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -920,8 +920,13 @@ Creates a directory with the name I<dirname>.
 =item open_with [I<application>] [I<flags>] [I<mode>]
 
 Open the selected files with the given application, unless it is omitted, in
-which case the default application is used.  I<flags> and I<mode> have their
-own section in the man page.
+which case the default application is used.  I<flags> change the way the
+application is executed and are described in their own section in this man
+page.  The I<mode> is a number that specifies which application to use.  The list
+of applications is generated by the external file opener "rifle" and can be
+displayed when pressing "r" in ranger.
+
+Note that if you specify an application, the mode is ignored.
 
 =item pmap I<key> I<command>
 
hor nfnty <git@nfnty.se> 2017-01-21 22:30:59 +0100 committer nfnty <git@nfnty.se> 2017-01-21 22:30:59 +0100 Python 3 division: Import `division` from `__future__`' href='/akspecs/ranger/commit/ranger.py?id=9f5eeff72146d3c5178d66b4879af7a6abfc22f1'>9f5eeff7 ^
e52629c1 ^

08f08fb9 ^
d8084b41 ^

b3d031a9 ^

08f08fb9 ^
cba63cf3 ^
e52629c1 ^
b3d031a9 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37