|
|
|
set -g default-terminal "xterm"
|
|
|
|
# Изменяем цвет строки статуса на белый
|
|
|
|
#set -g status-bg yellow
|
|
|
|
# Изменяем правую часть статусной строки
|
|
|
|
#set -g status-right '#(echo $USER)@#H #(uptime | cut -d "," -f 1)'
|
|
|
|
|
|
|
|
setw -g xterm-keys on
|
|
|
|
|
|
|
|
#set-option -g mouse-select-pane on
|
|
|
|
#setw -g mode-mouse on
|
|
|
|
|
|
|
|
#set-option -g pane-active-border-fg yellow
|
|
|
|
#set-option -g pane-active-border-bg black
|
|
|
|
#set-option -g pane-border-fg green
|
|
|
|
#set-option -g pane-border-bg black
|
|
|
|
#set-option -g visual-activity on
|
|
|
|
## сообщения
|
|
|
|
#set-window-option -g mode-bg magenta
|
|
|
|
#set-window-option -g mode-fg black
|
|
|
|
#set-option -g message-bg magenta
|
|
|
|
#set-option -g message-fg black
|
|
|
|
set-window-option -g monitor-activity on
|
|
|
|
#set-window-option -g window-status-current-fg white
|
|
|
|
|
|
|
|
|
|
|
|
# панель состояния
|
|
|
|
#set-option -g status-utf8 on
|
|
|
|
|
|
|
|
#source ".powerline.conf"
|
|
|
|
|
|
|
|
#set-option -g status-justify right
|
|
|
|
#set-option -g status-bg black
|
|
|
|
#set-option -g status-fg cyan
|
|
|
|
#set-option -g status-interval 5
|
|
|
|
#set-option -g status-left-length 30
|
|
|
|
#set-option -g status-right-length 50
|
|
|
|
##set-option -g status-left '#[fg=magenta]» #[fg=red,bold]#(echo $USER)#[fg=yellow]@#[fg=blue,bold]#T#[default]'
|
|
|
|
#set-option -g status-left '#[fg=magenta]» #[fg=red,bold]#(echo $USER)#[fg=yellow]@#[fg=blue,bold]#H#[default]'
|
|
|
|
#set-option -g status-right '#[fg=cyan]»» #[fg=blue,bold]###S #[fg=green]#{net_speed} #{cpu_fg_color}#{cpu_icon}#{cpu_percentage}#[fg=magenta]#(uptime|cut -d "," -f 1)#[default]'
|
|
|
|
|
|
|
|
# tmux powerline
|
|
|
|
#set-option -g status on
|
|
|
|
#set-option -g status-interval 2
|
|
|
|
#set-option -g status-utf8 on
|
|
|
|
#set-option -g status-justify "centre"
|
|
|
|
#set-option -g status-left-length 60
|
|
|
|
#set-option -g status-right-length 90
|
|
|
|
#set-option -g status-left "#(~/.tmux/tmux-powerline/powerline.sh left)"
|
|
|
|
#set-option -g status-right "#(~/.tmux/tmux-powerline/powerline.sh right)"
|
|
|
|
|
|
|
|
|
|
|
|
# Навигация по командной строке и списку окон в режиме vi
|
|
|
|
set -g status-keys vi
|
|
|
|
setw -g mode-keys vi
|
|
|
|
# Размер буфера истории
|
|
|
|
set -g history-limit 4096
|
|
|
|
# Меняем стандартный префикс на <C-a>
|
|
|
|
set -g prefix C-a
|
|
|
|
unbind C-b
|
|
|
|
# Переход к предыдущему окну по <C-a C-a>
|
|
|
|
bind C-a last-window
|
|
|
|
# <C-a M> включает мониторинг активности
|
|
|
|
bind M setw monitor-activity on
|
|
|
|
bind m setw monitor-activity off
|
|
|
|
|
|
|
|
# часы
|
|
|
|
set-window-option -g clock-mode-colour cyan
|
|
|
|
set-window-option -g clock-mode-style 24
|
|
|
|
|
|
|
|
# прокрутка по shift pgup/pgdn
|
|
|
|
#set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
|
|
|
# режим копирования на клавише "Esc"
|
|
|
|
unbind [
|
|
|
|
bind Escape copy-mode
|
|
|
|
|
|
|
|
#new -n stats htop
|
|
|
|
#split-window -v nload
|
|
|
|
#split-window -h "tail -f /var/log/messages"
|
|
|
|
#set-window-option monitor-activity off
|
|
|
|
#neww -n console bash
|
|
|
|
#selectw -t 0
|
|
|
|
#selectp -t 0
|
|
|
|
|
|
|
|
## Install tpm
|
|
|
|
## git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
|
|
|
## List of plugins
|
|
|
|
#set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
## Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
|
|
#run '~/.tmux/plugins/tpm/tpm'
|
|
|
|
#
|
|
|
|
#set -g @plugin 'tmux-plugins/tmux-net-speed'
|
|
|
|
#set -g @net_speed_interfaces "eth0 eth1 wlan0"
|
|
|
|
#set -g @net_speed_format "%s %s"
|
|
|
|
#
|
|
|
|
#set -g @plugin 'tmux-plugins/tmux-cpu'
|
|
|
|
#set -g @cpu_low_fg_color "#[fg=#00ff00]"
|
|
|
|
#set -g @cpu_medium_fg_color "#[fg=#ffff00]"
|
|
|
|
#set -g @cpu_high_fg_color "#[fg=#ff0000]"
|
|
|
|
#set -g @cpu_low_bg_color "#[bg=#00ff00]"
|
|
|
|
#set -g @cpu_medium_bg_color "#[bg=#ffff00]"
|
|
|
|
#set -g @cpu_high_bg_color "#[bg=#ff0000]"
|
|
|
|
|
|
|
|
set -g default-terminal screen-256color
|
|
|
|
#bind -n End send-key C-e
|
|
|
|
#bind -n Home send-key C-a
|
|
|
|
source-file "${HOME}/.tmux/themes/tmux-themepack/powerline/double/orange.tmuxtheme"
|
|
|
|
#run-shell "~/.tmux/themes/nord-tmux/nord.tmux"
|