Thanks Nicholas and Thiago. I am reading the man page from the latest
commit in git but I am still confused:
---
One command in accepts an argument, copy-pipe, which copies the selection
and pipes it to a command. For example the following will bind ‘C-q’ to
copy the selection int
It is the same as using xclip but you use it from copy mode rather than
needing to copy first and use the prefix, look at the example in the man
page for how to bind it.
On Thu, Mar 14, 2013 at 01:06:25PM -0400, James Jong wrote:
>Thanks Nicholas. I just built the latest tmux from git*
>
Thanks Nicholas. I just built the latest tmux from git
>git describe
1.7-227-g919bde7
How do bind & use the copy-pipe command? Why is that better than using
xclip?
James
On Tue, Mar 12, 2013 at 12:33 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> Either run tmux from git and
Either run tmux from git and bind the copy-pipe command.
Or use xterm and it should happen automatically.
On Tue, Mar 12, 2013 at 12:13:26PM -0400, James Jong wrote:
>I am running latest version of tmux (1.7) and xclip (0.12) installed in
>the system. I would like to define Emacs-like ke
Here's how I do it:
# move x clipboard into tmux paste buffer
bind C-p run "tmux set-buffer \"$(xclip -o -selection clipboard)\";
tmux paste-buffer"
# move tmux copy buffer into x clipboard
bind C-y run "tmux show-buffer | xclip -i -selection clipboard"
On Tue, Mar 12, 2013 at 1:13 PM, James Jong