diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 5a07dbb56..08296ae02 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -882,10 +882,14 @@ class CommandDispatcher: 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() return + if index is None and count is None: + self.tab_next() + return try: idx = cmdutils.arg_or_count(index, count, default=1, countzero=self._count()) diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 7a1f4f236..5e40bf7e1 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -1236,7 +1236,7 @@ KEY_DATA = collections.OrderedDict([ ('tab-move', ['gm']), ('tab-move -', ['gl']), ('tab-move +', ['gr']), - ('tab-next', ['J', 'gt']), + ('tab-focus', ['J', 'gt']), ('tab-prev', ['K', 'gT']), ('tab-clone', ['gC']), ('reload', ['r']),