Re: bind -t cmd-with-args?

Wed, 03 Feb 2010 15:42:15 -0800

Ankur Nayak wrote:

> A related question. Is it possible to copy buffers to specific
> registers, just as one can do in vim?

That looks easy, and it's in the manual:

  copy-buffer [-a src-index] [-b dst-index] [-s src-session] [-t dst-session]
  (alias: copyb)
  Copy a session paste buffer to another session.  If no sessions are
  specified, the current one is used instead.

So to put the current paste buffer into buffer 5, this should do it:

  copy-buffer -b 5

The number of buffers available in tmux' buffer stack can be set per
session with "set -g buffer-limit <number>".


clemens


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to