Skip to content

Instantly share code, notes, and snippets.

@stvkoch
Last active May 30, 2019 09:52
Show Gist options
  • Save stvkoch/d9f6b40fc387409ab6e2da4124d3d084 to your computer and use it in GitHub Desktop.
Save stvkoch/d9f6b40fc387409ab6e2da4124d3d084 to your computer and use it in GitHub Desktop.
my .tmux.conf
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set-option -g default-shell /bin/zsh
set -g default-terminal "screen-256color"
set-window-option -g status-left " #S "
set-window-option -g status-left-fg black
set-window-option -g status-left-bg white
set-window-option -g status-right " %H:%M %d-%b-%y "
set-window-option -g status-right-fg black
set-window-option -g status-right-bg white
set-window-option -g window-status-format " #I: #W "
set-window-option -g window-status-current-format " #I: #W "
set-window-option -g window-status-current-fg green
set-window-option -g window-status-current-bg black
# enable mouse scroll
set -g mouse on
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment