Last active
May 18, 2022 16:01
-
-
Save rootsec1/d54185984f0dc66b6244ee5a5f4d1852 to your computer and use it in GitHub Desktop.
Custom `tmux` config for MacOS (Prefix: ctrl + w)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TMUX_POWERLINE_SEG_WEATHER_LAT=<LAT> | |
TMUX_POWERLINE_SEG_WEATHER_LON=<LNG> | |
set -g prefix C-w | |
set-option -g mouse on | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
bind \\ split-window -h | |
bind | split-window -v | |
bind N break-pane | |
# Set window notifications | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Automatically set window title | |
setw -g automatic-rename | |
split-window -h -p 30 | |
select-pane -t 1 | |
split-window -v | |
split-window -h | |
select-pane -t 1 | |
new-window | |
last-window | |
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-powerline/powerline.sh left)" | |
set-option -g status-right "#(~/.tmux-powerline/powerline.sh right)" | |
set-hook -g session-created 'run-shell "~/.tmux-powerline/powerline.sh init"' # prettifies the window-status segments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment