小智 56
我认为这值得一个清晰可见的答案,该答案以第一个答案下的评论形式隐藏。
假设正在使用默认的 tmux 配置,新手 tmux 用户请按照以下说明拆分窗格
水平拆分窗格
垂直拆分窗格
我在下面找到并引用的文章提到[CTRL B] + [%]或[CTRL B] + ["]或Ctrl+b "暗示我们必须同时按下所有键,但没有提到Ctrl + whatever key在命令中按顺序按下另一个键之前释放按下的重要部分以查看所需的操作。
Abh*_*ogi 27
这是我用于我的配置,我有Ctrl+A作为前缀键。
set -g prefix ^a
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
unbind %
bind | split-window -h
bind - split-window -v
bind N break-pane
# Set status bar
set -g status-bg black
set -g status-fg white
# Highlight active window
set-window-option -g window-status-current-bg blue
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
# Automatically set window title
setw -g automatic-rename
Run Code Online (Sandbox Code Playgroud)
按Ctrl+ 进行测试A,然后按?。
| 归档时间: |
|
| 查看次数: |
88921 次 |
| 最近记录: |