Permalink
Browse files

Add option to enable pbcopy and pbpaste under tmux

* Alphabetize comments
  • Loading branch information...
1 parent da6c303 commit bb97c6292e8813a4a3c2bce8e55aee840afb4ff5 Adarsh Pandit committed Sep 22, 2012
Showing with 7 additions and 3 deletions.
  1. +7 −3 tmux.conf
View
@@ -1,6 +1,10 @@
+# Set default terminal emulation to xterm
set -g default-terminal "xterm"
-# act like vim
+# Enable pbcopy and pbpaste under tmux
+set-option -g default-command "reattach-to-user-namespace -l zsh"
+
+# Act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
@@ -9,10 +13,10 @@ bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
-# act like GNU screen
+# Act like GNU screen
unbind C-b
set -g prefix C-a
-# cycle through panes
+# Cycle through panes using C-aa
unbind ^A
bind ^A select-pane -t :.+

0 comments on commit bb97c62

Please sign in to comment.