0
0
.dotfiles/tmux/tmux.conf

73 lines
2.3 KiB
Plaintext
Raw Normal View History

2024-09-07 00:47:46 -04:00
#set -g default-terminal "screen-256color"
2023-05-05 17:01:59 -04:00
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
2024-09-07 00:47:46 -04:00
set-window-option monitor-activity on
2023-05-05 17:01:59 -04:00
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
2024-09-07 00:47:46 -04:00
set -g mode-keys vi
2023-05-05 17:01:59 -04:00
2024-09-07 00:47:46 -04:00
set-option clock-mode-colour "#00e7e3"
2024-09-07 21:28:40 -04:00
set -g status-bg "#232323"
2024-09-07 00:47:46 -04:00
#set-option -g status-fg "#000011"
2024-09-07 21:28:40 -04:00
set -g status-style "fg=#ffffff,bg=#232323"
2024-09-07 00:47:46 -04:00
set -g pane-border-status top
2024-09-07 21:28:40 -04:00
set -g message-style 'bg=#00d9db,fg=#232323'
2024-09-07 00:47:46 -04:00
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'
2023-05-05 17:01:59 -04:00
### plugins ###
set-environment -g TMUX_PLUGIN_MANAGER_PATH ~/.dotfiles/.tmux/plugins
2024-09-06 04:10:28 -04:00
set-environment -g TMPDIR $PREFIX/tmp
2023-05-05 17:01:59 -04:00
# List of plugins
#set -g @plugin 'tmux-plugins/tpm'
run ~/.dotfiles/.tmux/plugins/tpm/tpm
if-shell '[ ! -z "$PREFIX" ]' {
2024-09-07 21:28:40 -04:00
run-shell "echo nope > .yesno"
set -g @plugin 'erikw/tmux-powerline'
}
if-shell '[ -z "$PREFIX" ]' {
set-environment -gu POWERLINE_COMMAND
set -gUu @plugin
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set-option status-left-length 140
set-option status-right-length 75
run-shell 'alias powerline-config=~/.dotfiles/powerline-src/scripts/powerline-config'
run-shell '~/.dotfiles/powerline-src/scripts/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-src/scripts/powerline-config
source ~/.dotfiles/powerline-src/powerline/bindings/tmux/powerline.conf
}
2024-09-07 00:47:46 -04:00
#set -g @plugin 'erikw/tmux-powerline'
#set -g @plugin 'git@git.tablet.sh:the-btfash-foundation/tmux-mem-cpu-load'
2023-05-13 17:16:30 -04:00
# set -g @plugin 'thewtex/tmux-mem-cpu-load'
2023-05-05 17:01:59 -04:00
# 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