如何列出和自定义适用于命令模式的 tmux 按键绑定?

如何列出和自定义适用于命令模式的 tmux 按键绑定?

谁能告诉我在哪里可以找到有关如何列出和自定义适用于命令模式的 tmux 键绑定的官方或全面描述?

在其搜索tmux命令模式相关信息时手册页我只找到以下详细说明:

TMUX(1) BSD 通用命令手册 TMUX(1)

...

status-keys [vi | emacs]
        Use vi or emacs-style key bindings in the status line, for
        example at the command prompt.  The default is emacs, unless
        the VISUAL or EDITOR environment vari‐ ables are set and
        contain the string ‘vi’.

...

The following keys have a special meaning in the command prompt,
depending on the value of the status-keys option:
    Function                             vi        emacs
    Cancel command prompt                Escape    Escape
    Delete current word                            C-w
    Delete entire command                d         C-u
    Delete from cursor to end            D         C-k
    Execute command                      Enter     Enter
    Get next command from history                  Down
    Get previous command from history              Up
    Insert top paste buffer              p         C-y
    Look for completions                 Tab       Tab
    Move cursor left                     h         Left
    Move cursor right                    l         Right
    Move cursor to end                   $         C-e
    Move cursor to next word             w         M-f
    Move cursor to previous word         b         M-b
    Move cursor to start                 0         C-a
    Transpose characters                           C-t

相关内容