diff options
Diffstat (limited to 'doc/ranger.pod')
-rw-r--r-- | doc/ranger.pod | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod index 6b5b1593..a21bcde0 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. @@ -1358,7 +1361,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 |