diff options
Diffstat (limited to 'doc/ranger.1')
-rw-r--r-- | doc/ranger.1 | 6 |
1 files changed, 5 insertions, 1 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 |