Skip to content

Instantly share code, notes, and snippets.

@joedaniels29
Created August 18, 2016 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joedaniels29/f9fb30554649f68d2c973f8d4e98b68b to your computer and use it in GitHub Desktop.
Save joedaniels29/f9fb30554649f68d2c973f8d4e98b68b to your computer and use it in GitHub Desktop.
set-option -g default-shell /bin/zsh
bind-key C-c run-shell 'tmux save-buffer - | reattach-to-user-namespace pbcopy'
bind-key C-v run-shell 'reattach-to-user-namespace pbpaste | tmux load-buffer - \; paste-buffer -d'
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'"
source "/usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
set -g mouse on
#set -g mode-mouse on
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
#set -g mouse-select-window on
set-window-option -g xterm-keys on
set -g base-index 1
set -g pane-base-index 1
bind-key -n C-Tab next-window
bind-key -n C-S-Tab previous-window
set-option -g default-command "reattach-to-user-namespace -l zsh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment