summary refs log tree commit diff stats
path: root/ranger/config/commands_sample.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/config/commands_sample.py')
-rw-r--r--ranger/config/commands_sample.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/config/commands_sample.py b/ranger/config/commands_sample.py
index 2df405f1..4f74019b 100644
--- a/ranger/config/commands_sample.py
+++ b/ranger/config/commands_sample.py
@@ -52,7 +52,8 @@ class my_edit(Command):
 
     # The tab method is called when you press tab, and should return a list of
     # suggestions that the user will tab through.
-    def tab(self):
+    # tabnum is 1 for <TAB> and -1 for <S-TAB> by default
+    def tab(self, tabnum):
         # This is a generic tab-completion function that iterates through the
         # content of the current directory.
         return self._tab_directory_content()