25 lines
846 B
Plaintext
25 lines
846 B
Plaintext
|
set-option -g default-shell /opt/local/bin/bash
|
||
|
set-option -g prefix C-t
|
||
|
set-option -g renumber-windows on
|
||
|
|
||
|
# Copy-paste integration
|
||
|
set-option -g default-command "reattach-to-user-namespace -l bash"
|
||
|
|
||
|
# Use vim keybindings in copy mode
|
||
|
setw -g mode-keys vi
|
||
|
|
||
|
# Setup 'v' to begin selection as in Vim
|
||
|
#bind-key -t vi-copy v begin-selection
|
||
|
#bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
|
||
|
|
||
|
# Update default binding of `Enter` to also use copy-pipe
|
||
|
#unbind -t vi-copy Enter
|
||
|
#bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
|
||
|
|
||
|
# Bind ']' to use pbpaste
|
||
|
bind ] run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"
|
||
|
|
||
|
# Powerline
|
||
|
source /Users/evanreichard/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf
|
||
|
set -g default-terminal "screen-256color"
|