当前位置: 首页 > 工具软件 > .tmux > 使用案例 >

cat ~/.tmux.conf

龙宣
2023-12-01

 cat ~/.tmux.conf

################ GENERAL ################                                                                                                   [6/56]
set -g default-terminal "xterm-256color"
unbind C-b ; set -g prefix `; bind-key ` send-prefix
set -sg repeat-time 600 ; #set -s escape-time 500
set -g history-limit 666666
setw -g xterm-keys on
set -g renumber-windows on
setw -g automatic-rename on
set -g display-panes-time 800 ; set -g display-time 1000
set -g set-titles on ; set -g set-titles-string '[#S] #I:#W (#T)'
setw -g clock-mode-style 24
set -g monitor-activity on ; set -g visual-activity off
################ SIMPLE STATUS LINE ################
# TODO tmux_conf_theme=powerline
set -g status-interval 20
# set -g status-bg black ; set -g status-fg green
# crap # set -g status-utf8 on ; setw -g utf8 on
# set -g window-status-current-style "fg=yellow,bold,underscore,bg=red"
# set -g window-status-last-style "fg=white,dim,bg=blue"
set -g mouse off #TODO: not very feasible
################ Dragula Tmux Theme ################
###   # git clone -n --depth=1 https://github.com/dracula/tmux.git ~/.tmux/plugins/tmux
###   set -g @plugin 'dracula/tmux'
###   set -g @dracula-plugins "battery time"
###   # set -g @dracula-show-powerline true # why mess char?
###   set -g @dracula-show-left-icon session
###   set -g @dracula-show-flags true
###   set -g @dracula-refresh-rate 5
###   set -g @dracula-left-icon-padding 1
###   set -g @dracula-military-time true
###   set -g @dracula-git-disable-status true
###   ### without tpm# run-shell "~/.tmux/themes/dragula-tmux/dracula.tmux"
################ Nord Tmux Theme ################
set -g @plugin "arcticicestudio/nord-tmux"
# set -g @nord_tmux_show_status_content "0"
set -g @nord_tmux_no_patched_font "1"
### without tpm# run-shell "~/.tmux/themes/nord-tmux/nord.tmux"
################ tpm(Tmux Plugin Manager)
# git clone -n --depth=1 https://github.com/tmux-plugins/tpm.git ~/.tmux/plugins/tpm
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run-shell '~/.tmux/plugins/tpm/tpm'

tree -L 2 ~/.tmux

$ tree -L 2 .tmux
.tmux
└── plugins
    ├── nord-tmux
    ├── tmux
    └── tpm

 类似资料: