goto_tab now maps numbers larger than the last tab to the last tab

Fixes #2291
This commit is contained in:
Kovid Goyal
2020-01-16 20:17:17 +05:30
parent f5090c951a
commit 96f3253e6d
3 changed files with 9 additions and 3 deletions

View File

@@ -144,7 +144,8 @@ For example::
_('Tab management'), '',
_('''\
You can also create shortcuts to go to specific tabs, with 1 being the first
tab, 2 the second tab and -1 being the previously active tab::
tab, 2 the second tab and -1 being the previously active tab, and any number
larger than the last tab being the last tab::
map ctrl+alt+1 goto_tab 1
map ctrl+alt+2 goto_tab 2