8
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

tmux(v3.2)のコピー時にmacosのクリップボードにコピーする

Last updated at Posted at 2021-05-18

"tmux copy clipboard macos"でググったところ、以下の記事が出てきた。

  • 手元にインストール済みのバージョン3.2では、上記の方法ではうまくいかず、マニュアルを見たところより簡単に設定可能になっていた。

前提となる状態があるようだが、手元ではデフォルトで設定済みだった。(set-clipboardオプション, Ms機能)

前提がクリアできていれば、.tmux.confに以下を追加し、tmuxを再起動すればよい。

set -s copy-command 'pbcopy'
8
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?