Tmuxconf 被禁用,但我写在正确的地方正确的 lint
Tmuxconf is disabled but I write in right place right lint
我做了~/.tmux.conf
这个,并重新启动 tmux 和终端
但键绑定仍然是 <c-b>
。
为什么会这样?
# C-bのキーバインドを解除
unbind C-b
# prefixキーをC-qに変更
set -g prefix C-q
# vimのキーバインドでペインを移動する
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# ステータスバーの色を設定する
set -g status-fg white
set -g status-bg black
# コピーモードを設定する
## viのキーバインドを使用
setw -g mode-keys vi
在 .bashrc 中,添加 tmux source-file ~/.tmux.conf
解决了问题。
q
键在某处使用,所以我需要输入 ctrl shift q
用作 tmux 前缀。我将其更改为 w
。
然后 ctrl w 完美地用作 tmux 前缀。
我做了~/.tmux.conf
这个,并重新启动 tmux 和终端
但键绑定仍然是 <c-b>
。
为什么会这样?
# C-bのキーバインドを解除
unbind C-b
# prefixキーをC-qに変更
set -g prefix C-q
# vimのキーバインドでペインを移動する
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# ステータスバーの色を設定する
set -g status-fg white
set -g status-bg black
# コピーモードを設定する
## viのキーバインドを使用
setw -g mode-keys vi
在 .bashrc 中,添加 tmux source-file ~/.tmux.conf
解决了问题。
q
键在某处使用,所以我需要输入 ctrl shift q
用作 tmux 前缀。我将其更改为 w
。
然后 ctrl w 完美地用作 tmux 前缀。