如何在 tmux 中取消绑定 `<prefix> space`?

Cor*_*rey 4 layout prefix tmux

<prefix> space默认切换到下一个布局。我从不想这样做,因为我喜欢保持默认,但有时我不小心触发了它。

在我的 tmux conf 中,我有:

# unbind prefix-space to rearrage windows
unbind C-Space
Run Code Online (Sandbox Code Playgroud)

但它似乎并没有做到这一点。我错过了什么?

Sar*_*iev 5

next-layout绑定肯定Space不会,C-Space所以你基本上需要

unbind Space
Run Code Online (Sandbox Code Playgroud)

tmux.conf在此之后不要忘记来源

tmux source-file ~/.tmux.conf
Run Code Online (Sandbox Code Playgroud)