66 lines
2.2 KiB
Bash
Executable File
66 lines
2.2 KiB
Bash
Executable File
#set -g default-terminal "screen-256color"
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
set -g renumber-windows on
|
|
# split panes using | and -
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
unbind '"'
|
|
unbind %
|
|
|
|
bind r source-file ~/.dotfiles/tmux/tmux.conf
|
|
set-window-option -g clock-mode-style 12
|
|
set-window-option monitor-activity on
|
|
set -g base-index 1
|
|
set -g mouse on
|
|
set -g pane-border-lines "single"
|
|
set -g visual-activity on
|
|
set -g visual-bell on
|
|
set -g mode-keys vi
|
|
|
|
### powerline ###
|
|
|
|
set-option status-left-length 140
|
|
set-option status-right-length 75
|
|
run-shell 'alias powerline-config=~/.dotfiles/powerline-bin/bin/powerline-config'
|
|
run-shell '~/.dotfiles/powerline-bin/bin/powerline-daemon --replace'
|
|
#run-shell ~/.dotfiles/powerline/bin/powerline-daemon -q
|
|
set -g window-status-current-format ""
|
|
set-environment -g POWERLINE_CONFIG_COMMAND ~/.dotfiles/powerline-bin/bin/powerline-config
|
|
source ~/.dotfiles/powerline-bin/powerline/bindings/tmux/powerline.conf
|
|
if-shell '[ ! -z $PREFIX ]' {
|
|
run-shell 'ln -sf ~/.dotfiles/powerline/powerline/scripts/powerline $PREFIX/bin'
|
|
run-shell 'ln -sf ~/.dotfiles/powerline/powerline/scripts/powerline-daemon $PREFIX/bin'
|
|
}
|
|
set-option clock-mode-colour "#00e7e3"
|
|
set -g status-bg "#262626"
|
|
#set-option -g status-fg "#000011"
|
|
set -g status-style "fg=#ffffff,bg=#262626"
|
|
set -g pane-border-status top
|
|
set -g message-style 'bg=#00d9db,fg=#262626'
|
|
set -g pane-border-style 'fg=#affffe'
|
|
set -g pane-active-border-style 'fg=#00e7e3'
|
|
set -g menu-selected-style 'fg=#000000,bg=#00d9db'
|
|
set -g mode-style 'fg=#000000,bg=#00d9db'
|
|
|
|
### plugins ###
|
|
|
|
set-environment -g TMUX_PLUGIN_MANAGER_PATH ~/.dotfiles/.tmux/plugins
|
|
set-environment -g TMPDIR $PREFIX/tmp
|
|
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
#set -g @plugin 'erikw/tmux-powerline'
|
|
#set -g @plugin 'git@git.tablet.sh:the-btfash-foundation/tmux-mem-cpu-load'
|
|
# set -g @plugin 'thewtex/tmux-mem-cpu-load'
|
|
|
|
# Other examples:
|
|
# set -g @plugin 'github_username/plugin_name'
|
|
# set -g @plugin 'github_username/plugin_name#branch'
|
|
# set -g @plugin 'git@github.com:user/plugin'
|
|
# set -g @plugin 'git@bitbucket.com:user/plugin'
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf
|
|
run ~/.dotfiles/.tmux/plugins/tpm/tpm
|