summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.16
-rw-r--r--doc/ranger.pod6
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 98c7a0d0..ecc4f7f1 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -406,6 +406,9 @@ a function that ranger uses.  This allows you to change pretty much every part
 of ranger, but there is no guarantee that things will continue to work in
 future versions as the source code evolves.
 .PP
+Adding new commands via a plugin as simple as specifying them like you would do
+in the \fIcommands.py\fR.
+.PP
 There are some hooks that are specifically made for the use in plugins.  They
 are functions that start with hook_ and can be found throughout the code.
 .PP
@@ -1294,7 +1297,8 @@ and settings are defined here.
 .IP "commands.py" 10
 .IX Item "commands.py"
 A python module that defines commands which can be used in ranger's console by
-typing \*(L":\*(R" or in the rc.conf file.
+typing \*(L":\*(R" or in the rc.conf file.  Note that you can define commands in the
+same manner within plugins.
 .IP "commands_full.py" 10
 .IX Item "commands_full.py"
 This file is copied by \-\-copy\-config=commands_full and serves as a reference
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 2a4a1674..00c26f12 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -302,6 +302,9 @@ a function that ranger uses.  This allows you to change pretty much every part
 of ranger, but there is no guarantee that things will continue to work in
 future versions as the source code evolves.
 
+Adding new commands via a plugin as simple as specifying them like you would do
+in the I<commands.py>.
+
 There are some hooks that are specifically made for the use in plugins.  They
 are functions that start with hook_ and can be found throughout the code.
 
@@ -1367,7 +1370,8 @@ and settings are defined here.
 =item commands.py
 
 A python module that defines commands which can be used in ranger's console by
-typing ":" or in the rc.conf file.
+typing ":" or in the rc.conf file.  Note that you can define commands in the
+same manner within plugins.
 
 =item commands_full.py