summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-22 17:44:52 -0500
committerBen Sima <ben@bensima.com>2025-12-22 17:44:52 -0500
commit5f37cf1c2a9dade75a4ba1a61ebc0c006b1301ec (patch)
treecc886c04e4387fb52f40876be638133c4ee47414 /lib
parenta5a6bfc8a5d632a76335d3021a9ae8f423efd40d (diff)
Add tmux clipboard integration with yank plugin
Diffstat (limited to 'lib')
-rw-r--r--lib/common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common.nix b/lib/common.nix
index 58f8b76..54b28ea 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -272,8 +272,12 @@ in {
plugins = with pkgs.tmuxPlugins; [
extrakto
tmux-fzf
+ yank
];
extraConfig = ''
+ # Clipboard integration
+ set -s set-clipboard on
+ set -as terminal-features ',xterm-256color:clipboard'
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on