自定义tmux配置文件.tmux.conf

…衆ロ難τιáo~ 提交于 2019-12-11 04:15:44

tmux配置文件

1.编辑.tmux.conf文件输入以下内容,请勿直接粘贴复制(有坑,有可能导致配置失败),使用vim编辑以下内容:
unbind C-b
set -g prefix C-s
setw -g mode-keys vi
set -g base-index 1
set-option -g mouse on
bind-key k select-pane -U
bind-key j select-pane -D
bind-key h select-pane -L
bind-key l select-pane -R

set -g pane-border-bg colour236
set -g pane-border-fg colour236
set -g pane-active-border-bg colour232
set -g pane-active-border-fg colour232
2.在创建配置文件目录,进入tmux命令行模式(ctrl+b ,然后:),命令模式下输入source-file .tmux.conf

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!