Skip to content

Commit

Permalink
Fix tmux copy/paste on Darwin
Browse files Browse the repository at this point in the history
This requires Tmux 1.8, which comes with Homebrew
  • Loading branch information
bradwright committed Aug 31, 2013
1 parent 52c7f57 commit bee1b6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmux-Darwin.conf
Expand Up @@ -3,8 +3,8 @@
set -g default-command "reattach-to-user-namespace -l $SHELL"

# Convince tmux to use cut/paste
bind C-y run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"
bind C-w run "tmux show-buffer | reattach-to-user-namespace pbcopy"
bind-key -n C-y run "reattach-to-user-namespace pbpaste | tmux load-buffer - ; tmux paste-buffer"
bind-key -n -t emacs-copy M-w copy-pipe "reattach-to-user-namespace pbcopy"

set -g default-terminal "screen-256color"

Expand Down

0 comments on commit bee1b6d

Please sign in to comment.