mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-23 14:56:31 +00:00
Tmux to use external clipboard
This commit is contained in:
parent
3360c13414
commit
4f37347f10
@ -60,6 +60,8 @@ unbind y
|
|||||||
if-shell 'test "$(uname -s)" = "Darwin"' 'bind y run "tmux show-buffer | pbcopy"'
|
if-shell 'test "$(uname -s)" = "Darwin"' 'bind y run "tmux show-buffer | pbcopy"'
|
||||||
if-shell 'test "$(uname -s)" = "Linux"' 'bind y run "tmux show-buffer | xclip -sel clip -i"'
|
if-shell 'test "$(uname -s)" = "Linux"' 'bind y run "tmux show-buffer | xclip -sel clip -i"'
|
||||||
|
|
||||||
|
set -g set-clipboard external
|
||||||
|
|
||||||
# Auto load tmuxline config for themes
|
# Auto load tmuxline config for themes
|
||||||
if-shell "test -f ~/.tmuxline.conf" "source ~/.tmuxline.conf"
|
if-shell "test -f ~/.tmuxline.conf" "source ~/.tmuxline.conf"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user