Re: Copying between buffer and clipboard

2013-03-12 Thread Nicholas Marriott
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

Re: Copying between buffer and clipboard

2013-03-12 Thread Thiago Padilha
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

Copying between buffer and clipboard

2013-03-12 Thread James Jong
I am running latest version of tmux (1.7) and xclip (0.12) installed in the system. I would like to define Emacs-like keyboard bindings in my `.tmux.conf` to be able to copy (M-w) and paste (C-y) from/to the copy buffer to the clipboard. I found some code [1] for copying the entire buffer to the c

Re: [PATCH] Don't zoom windows with only one pane

2013-03-12 Thread Nicholas Marriott
yes, applied, thanks On Tue, Mar 12, 2013 at 12:53:11PM +0100, Romain Francoise wrote: > Zooming has no visible effect if the window has only one pane (other than > adding a window flag), so we might as well do nothing at all. > > diff --git a/window.c b/window.c > index fc06e87..2be51e9 100644

[PATCH] Document new window flag 'Z', clarify description

2013-03-12 Thread Romain Francoise
Use the word 'zoom' to describe resize-pane -Z, and add the new window flag 'Z' to the table. diff --git a/tmux.1 b/tmux.1 index 519bf6f..6264517 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1624,8 +1624,8 @@ is given in lines or cells (the default is 1). .Pp With .Fl Z , -the active pane is toggled be

[PATCH] Don't zoom windows with only one pane

2013-03-12 Thread Romain Francoise
Zooming has no visible effect if the window has only one pane (other than adding a window flag), so we might as well do nothing at all. diff --git a/window.c b/window.c index fc06e87..2be51e9 100644 --- a/window.c +++ b/window.c @@ -480,6 +480,10 @@ window_zoom(struct window_pane *wp) if