v run "xsel -o -b | tmux load-buffer - && tmux paste-buffer"
> # Copy into primary
> bind C-y choose-buffer "run \"tmux save-buffer -b '%%' - | xsel -i\""
> # Paste from primary
> bind C-p run "xsel -o | tmux load-buffer - && tm
gt;
>
> On Wed, Apr 24, 2013 at 12:00:59PM -0400, James Jong wrote:
> >The following worked in Tmux 1.7 for pasting text in tmux, but not in
> Tmux
> >1.8
> >
> ># Move x clipboard into tmux paste buffer
> >bind-key -n C-y run "xclip -o | tmux
The following worked in Tmux 1.7 for pasting text in tmux, but not in Tmux
1.8
# Move x clipboard into tmux paste buffer
bind-key -n C-y run "xclip -o | tmux load-buffer - ; tmux paste-buffer"
But I now get the following in the status pane:
xclip -o | tmux load-buffer - ; tmux paste-buffer exited
mux in the
past, so I am not sure what may be causing this.
Thanks,
James
On Wed, Apr 24, 2013 at 10:10 AM, Thomas Adam wrote:
> On Wed, Apr 24, 2013 at 10:03:25AM -0400, James Jong wrote:
> > Say I build tmux from the repository. A new version comes out, and that I
> > fetch
Say I build tmux from the repository. A new version comes out, and that I
fetch and pull to build a new version again.
At this point I see the following from git:
> HEAD is now at 1b083aa .. .Update CHANGES and configure.ac for 1.8 release
I usually build tmux by calling:
sh autogen.sh
./config
x27;t:
* bind-key -n -t emacs-copy M-w copy-pipe "tee >(xclip -i -selection
primary) >(xclip -i -selection clipboard) >/dev/null"
Why?
More generally, is there a better way to copy a string to two X window
targets?
On Mon, Mar 25, 2013 at 2:35 PM, James Jong wrote:
> The fo
The following command works well in the command line and copies a string to
two X-window targets:
echo "Hello world" | tee >(xclip -i -selection primary) >(xclip -i
-selection clipboard) >/dev/null
The following two tmux binding commands work well too:
bind-key -n -t emacs-copy M-w copy-pipe "xc
Mar 14, 2013 at 1:48 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> 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.
>
>
>
>
I have a process that is mibehaving and controls the stdin of the terminal
in a pane in tmux. I would like to kill the process without having to kill
the pane. Is this possible using any of the tmux commands?
In case it helps, I am using the latest version from the git repository.
Thanks,
James
un 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 wou
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
: '/' ground
input_parse: 's' ground
input_parse: 'w' ground
input_parse: '/' ground
input_parse: 'z' ground
input_parse: 's' ground
input_parse: 'h' ground
input_parse: '-' ground
input_parse: '4' ground
input_
Hello,
I just compiled my own version of tmux with libevent. Whenever I run tmux
from zsh, tmux starts, but exits quickly returning [exited].
Interestingly though, tmux runs correctly with:
tmux new $SHELL
I have also tried creating an empty .tmux.conf with no luck.
Any thoughts?
L
-
13 matches
Mail list logo