aboutsummaryrefslogtreecommitdiff
path: root/tmux.config
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-01-01 22:49:01 +0000
committerCody Hiar <codyfh@gmail.com>2017-01-01 22:49:01 +0000
commiteb52f06b57807131310325c59348f31133977be8 (patch)
tree04a7bea8bdab14ce38394ac2b009dbaa1ed48e3e /tmux.config
parenta0a1c68b3a532766d378df0f8d4e85610c70c7f1 (diff)
Fixing linux vs mac config
Diffstat (limited to 'tmux.config')
-rw-r--r--tmux.config10
1 files changed, 2 insertions, 8 deletions
diff --git a/tmux.config b/tmux.config
index bb8aa15..5c9f87f 100644
--- a/tmux.config
+++ b/tmux.config
@@ -15,12 +15,6 @@ bind C-j resize-pane -D 3
bind C-k resize-pane -U 3
bind C-h resize-pane -L 3
bind C-l resize-pane -R 3
-# Setup 'v' to begin selection as in Vim
-bind -t vi-copy v begin-selection
-bind -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 the last window command
bind C-b last-window
# Bind the last session command
@@ -40,8 +34,6 @@ set-option -g mouse on
setw -g mode-keys vi
# Set the display panes timeout
set-option -g display-panes-time 4000
-# Allow pbcopy inside of session
-set-option -g default-command "reattach-to-user-namespace -l zsh"
# Make the escape faster, faster command sequences
set -s escape-time 0
# Deal with screens having different
@@ -71,3 +63,5 @@ set-option -g status-right-length 90
set-option -g status-left "#(~/.tmux/powerline.sh left)"
set-option -g status-right "#(~/.tmux/powerline.sh right)"
+# Load/Ignore Mac specific options
+run-shell "bash ~/.tmux/check_os.sh"