From 44f8cf4b1a50be28d46e00890a5fba411efb51d9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 11 Aug 2015 22:01:18 +0200 Subject: [PATCH] Move :tab-focus documentation. --- qutebrowser/browser/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 08296ae02..1fc2a5bf7 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -878,11 +878,12 @@ class CommandDispatcher: def tab_focus(self, index: {'type': (int, 'last')}=None, count=None): """Select the tab given as argument/[count]. + If neither count nor index are given, it behaves like tab-next. + Args: index: The tab index to focus, starting with 1. The special value `last` focuses the last focused tab. count: The tab index to focus, starting with 1. - If neither count nor index are given, it behaves like tab-next """ if index == 'last': self._tab_focus_last()