Hello,

I have tmux configured to copy text I select with keyboard or mouse
(in copy-mode) to my system clipboard:

  # yank to system clipboard rather than primary selection
  # http://invisible-island.net/xterm/terminfo-contents.html#tic-xterm_tmux
  set-option -ga terminal-overrides ',xterm*:Ms=\E]52;c;%p2%s\007'

However, the `setb` and `loadb` commands don't behave the same way:
they modify tmux's internal buffers without touching the clipboard.

Would it be possible to make `setb` and `loadb` copy to clipboard?
Alternatively, could we have a new `yankb` command that does this?

    yank-buffer [-a] [-b buffer-name]
                       (alias: yankb)
          Yanks the contents of the specified buffer to clipboard.

Thanks for your consideration.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to