Skip to content

Instantly share code, notes, and snippets.

@ethankore
Last active January 1, 2024 10:50
Show Gist options
  • Save ethankore/7803c689d3f06a42b834052a60641933 to your computer and use it in GitHub Desktop.
Save ethankore/7803c689d3f06a42b834052a60641933 to your computer and use it in GitHub Desktop.
set -g mouse on
set -g prefix ^a
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
unbind %
bind | split-window -h
bind - split-window -v
bind N break-pane
# Set status bar
set -g status-bg black
set -g status-fg white
# Highlight active window
set-window-option -g window-status-current-style 'bg=black fg=blue'
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
# Automatically set window title
setw -g automatic-rename
# Set zsh as default shell
set -g default-shell /bin/zsh
bind-key C-Tab next-window
bind-key C-S-Tab previous-window
#; Move to the previously active pane.
#o Select the next pane in the current win
# unbind ;
unbind o
# auto lock session after 30 mins
set -g lock-after-time 1800
# set -g lock-command "cmatrix -u 2 -a -s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment