Skip to content

Commit

Permalink
configured to use x clipboard and visual bell
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpcox committed Feb 21, 2012
1 parent 1ba73b9 commit 093ab45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,12 @@ bind : command-prompt
setw -g mode-keys vi
# }}}

# paste buffer into x clipboard
# copy/paste buffer with x clipboard
bind-key p save-buffer ~/.tmux-buffer \; run-shell "xsel -i -b <~/.tmux-buffer && rm ~/.tmux-buffer"
bind C-p run "tmux set-buffer \"$(xsel -b -o)\"; tmux paste-buffer"

#use visual bell
set -g visual-bell on

set -g default-terminal "screen-256color" # + "tmux -2" => 256 color
set -g status-justify left
Expand Down

0 comments on commit 093ab45

Please sign in to comment.