aboutsummaryrefslogtreecommitdiff
path: root/tmux.config
diff options
context:
space:
mode:
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"