aesthetic terminal experience
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# Zen's tmux configuration, 2022 |
|
|
|
|
|
# Prefix rebinding |
|
|
unbind-key C-b |
|
|
set-option -g prefix ` |
|
|
bind-key ` send-prefix |
|
|
|
|
|
# Start numbering at 1 |
|
|
set -g base-index 1 |
|
|
|
|
|
# Window splitting and navigation |
|
|
bind \\ split-window -h |
|
|
bind - split-window -v |
|
|
|
|
|
bind h select-pane -L |
|
|
bind j select-pane -D |
|
|
bind k select-pane -U |
|
|
bind l select-pane -R |
|
|
|
|
|
# reloading for faster tmux configuration |
|
|
bind r source-file ~/.tmux.conf \; display "Reloaded!" |
|
|
|
|
|
# a e s t h e t i c s |
|
|
set -g default-terminal "screen-256color" |
|
|
set-option -g status on |
|
|
set-option -g status-interval 2 |
|
|
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)" |
|
|
set-hook -g session-created 'run-shell "~/.tmux/tmux-powerline/powerline.sh init"' # prettifies the window-status segments |
|
|
|
|
|
# tmux powerline can be overwhelming |
|
|
bind C-[ run '~/.tmux/tmux-powerline/mute_powerline.sh left' # Mute left statusbar. |
|
|
bind C-] run '~/.tmux/tmux-powerline/mute_powerline.sh right' # Mute right statusbar.
|
|
|
|