Skip to content

Commit 24544b6

Browse files
committed
docs: document COMMAND-mode Tab completion
Add the Tab completion keybinding to README, QUICKREF, and the tnt.1 man page in the same change set as the feature.
1 parent 4b88530 commit 24544b6

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ Ctrl+C - Exit chat
126126
:help - Show concise manual
127127
:clear - Clear command output
128128
:q, :quit, :exit - Disconnect
129+
Tab - Complete command name; ambiguous prefixes list candidates
130+
(also completes :theme/:lang values and :msg usernames)
129131
Up/Down - Browse command history
130132
ESC - Return to NORMAL mode
131133
```

docs/QUICKREF.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ COMMANDS (COMMAND mode, prefix with :)
4242
lang [en|zh] show or switch UI language
4343
clear clear output
4444
q / quit / exit disconnect
45+
Tab complete command / argument (lists candidates if ambiguous)
4546

4647
INSERT MODE
4748
/me <action> action message

tnt.1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ l l.
234234
:help Show concise manual
235235
:clear Clear command output
236236
:q, :quit, :exit Disconnect
237+
Tab Complete the command name or first argument; ambiguous prefixes list candidates
237238
Up/Down Browse command history
238239
ESC Cancel and return to NORMAL
239240
.TE

0 commit comments

Comments
 (0)