#author("2026-01-09T13:08:39+09:00","default:nobuoki","nobuoki")
#author("2026-01-26T23:39:15+09:00","default:nobuoki","nobuoki")
標準入力をクリップボードに書き込めるコマンド(xselやxclipなど)を用意して、
.tmux.conf にこれを書きます

#prism(bash){{{
# コピーしたらクリップボードにも反映
bind-key -T copy-mode-vi y     send -X copy-pipe-and-cancel "xsel -ib"
bind-key -T copy-mode-vi Enter send -X copy-pipe-and-cancel "xsel -ib"
}}}

参考:tmuxへの即時反映方法

#prism(bash){{{
tmux source ~/.tmux.conf
}}}


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS