summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/config/commands_sample.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/ranger/config/commands_sample.py b/ranger/config/commands_sample.py
index 698a92ca..b65bc172 100644
--- a/ranger/config/commands_sample.py
+++ b/ranger/config/commands_sample.py
@@ -4,9 +4,13 @@
 # documentation.  Do NOT add them all here, or you may end up with defunct
 # commands when upgrading ranger.
 
-# You need to import ranger.api.commands to get the Command class:
+# You always need to import ranger.api.commands here to get the Command class:
 from ranger.api.commands import *
-# Import any other python modules as needed:
+
+# A simple command for demonstration purposes follows.
+#------------------------------------------------------------------------------
+
+# You can import any python module as needed.
 import os
 
 # Any class that is a subclass of "Command" will be integrated into ranger as a