Skip to content

Instantly share code, notes, and snippets.

@keokent
Last active March 24, 2017 10:34
Show Gist options
  • Save keokent/1a2717567565bf579391acc542a0f267 to your computer and use it in GitHub Desktop.
Save keokent/1a2717567565bf579391acc542a0f267 to your computer and use it in GitHub Desktop.
set-option -g default-shell "/bin/zsh"
set-option -g default-command "reattach-to-user-namespace -l zsh"
bind-key C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy"
bind-key C-v run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"
set-option -g prefix C-t
bind C-t next-window
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
bind v split-window -v
bind h split-window -h
bind e select-layout even-horizontal
bind r source-file ~/.tmux.conf\; display-message "Reload Config!!"
bind { set-window-option synchronize-panes on
bind } set-window-option synchronize-panes of
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment