Merge branch 'gt' of git://github.com/t-wissmann/qutebrowser into t-wissmann-gt
This commit is contained in:
commit
705544cb05
@ -882,10 +882,14 @@ class CommandDispatcher:
|
|||||||
index: The tab index to focus, starting with 1. The special value
|
index: The tab index to focus, starting with 1. The special value
|
||||||
`last` focuses the last focused tab.
|
`last` focuses the last focused tab.
|
||||||
count: The tab index to focus, starting with 1.
|
count: The tab index to focus, starting with 1.
|
||||||
|
If neither count nor index are given, it behaves like tab-next
|
||||||
"""
|
"""
|
||||||
if index == 'last':
|
if index == 'last':
|
||||||
self._tab_focus_last()
|
self._tab_focus_last()
|
||||||
return
|
return
|
||||||
|
if index is None and count is None:
|
||||||
|
self.tab_next()
|
||||||
|
return
|
||||||
try:
|
try:
|
||||||
idx = cmdutils.arg_or_count(index, count, default=1,
|
idx = cmdutils.arg_or_count(index, count, default=1,
|
||||||
countzero=self._count())
|
countzero=self._count())
|
||||||
|
@ -1236,7 +1236,7 @@ KEY_DATA = collections.OrderedDict([
|
|||||||
('tab-move', ['gm']),
|
('tab-move', ['gm']),
|
||||||
('tab-move -', ['gl']),
|
('tab-move -', ['gl']),
|
||||||
('tab-move +', ['gr']),
|
('tab-move +', ['gr']),
|
||||||
('tab-next', ['J', 'gt']),
|
('tab-focus', ['J', 'gt']),
|
||||||
('tab-prev', ['K', 'gT']),
|
('tab-prev', ['K', 'gT']),
|
||||||
('tab-clone', ['gC']),
|
('tab-clone', ['gC']),
|
||||||
('reload', ['r']),
|
('reload', ['r']),
|
||||||
|
Loading…
Reference in New Issue
Block a user