CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/01/27 01:53:13

Modified files:
        usr.bin/tmux   : cmd-bind-key.c cmd-command-prompt.c 
                         cmd-list-keys.c key-bindings.c status.c tmux.1 
                         tmux.h 

Log message:
Add support for adding a note to a key binding (with bind-key -N) and
use this to add descriptions to the default key bindings. A new -N flag
to list-keys shows key bindings with notes rather than the default
bind-key command used to create them. Change the default ? binding to
use this to show a readable summary of keys.

Also extend command-prompt to return the name of the key pressed and add
a default binding (/) to show the note for the next key pressed

Suggested by Alex Tremblay in GitHub issue 2000.

Reply via email to