diff options
author | mathieui <mathieui@mathieui.net> | 2020-05-12 22:32:50 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-12 22:32:50 +0200 |
commit | ef38ff8f6a7ef813a6b4ab9edad458b4b7e9941f (patch) | |
tree | 70763f4128c9250b4b7ead7e5a8dcc989ae7c8fb /doc/source | |
parent | 1b974d2d9aec5c20d3111d208a24d7d67ab6b7de (diff) | |
parent | 1e7ce43789aae67fcfbb4b6fbe49a299fda1cfa1 (diff) | |
download | poezio-ef38ff8f6a7ef813a6b4ab9edad458b4b7e9941f.tar.gz poezio-ef38ff8f6a7ef813a6b4ab9edad458b4b7e9941f.tar.bz2 poezio-ef38ff8f6a7ef813a6b4ab9edad458b4b7e9941f.tar.xz poezio-ef38ff8f6a7ef813a6b4ab9edad458b4b7e9941f.zip |
Merge branch 'feature/unique-prefix-tab-names' into 'master'
Unique prefix tab names
Closes #3525
See merge request poezio/poezio!94
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/commands.rst | 9 | ||||
-rw-r--r-- | doc/source/configuration.rst | 11 | ||||
-rw-r--r-- | doc/source/keys.rst | 9 |
3 files changed, 29 insertions, 0 deletions
diff --git a/doc/source/commands.rst b/doc/source/commands.rst index dab2eceb..5ea69abd 100644 --- a/doc/source/commands.rst +++ b/doc/source/commands.rst @@ -93,6 +93,15 @@ These commands work in *any* tab. Go to the matching tab. If the argument is a number, it goes to the tab with that number. Otherwise, it goes to the next tab whose name contains the given string. + /wup + + **Usage:** ``/wup <prefix>`` + + Go to the tab whose name starts with `prefix`. If multiple tabs start + with that prefix, no action is taken. + + (Mnemonic: Window by Unique Prefix) + /status **Usage:** ``/status <availability> [status message]`` diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst index 9619022a..aceb6fb4 100644 --- a/doc/source/configuration.rst +++ b/doc/source/configuration.rst @@ -793,6 +793,17 @@ or the way messages are displayed. If you want to show the tab name in the bottom Tab bar, set this to ``true``. + unique_prefix_tab_names + + **Default value:** ``false`` + + If this and :term:`show_tab_names` is set to true, only the shortest + unique prefix of each tab name is shown instead of the full name. This + can declutter the interface in an instance with many tabs shown in the + interface, while not having to use numbers (which may change completely due to reordering). + + Takes precedence over `use_tab_nicks`. + show_tab_numbers **Default value:** ``true`` diff --git a/doc/source/keys.rst b/doc/source/keys.rst index dc5fa35b..03ab2071 100644 --- a/doc/source/keys.rst +++ b/doc/source/keys.rst @@ -374,6 +374,15 @@ Actions list Similar to F4. +**_go_to_room_name**: Jump to a tab by unique prefix. + + Similar to :term:`/wup` and the default *Alt-j*. This action will take + input as long as there is at least one tab name starting with the input + given so far. If there is exactly one tab matching, the action completes + and the current tab is switched over to the tab matching the input. If + no tab matches, the action completes without any change. This means that + you can typically abort the action with Escape. + Status actions ~~~~~~~~~~~~~~ |