summaryrefslogtreecommitdiff
path: root/home/tmux.nix
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-09-10 12:12:45 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-09-10 12:22:14 -0400
commit4f5f559be9fc4359692cc8f0cd90588a43774753 (patch)
treeb6ff7acc2093f54824c4340b755790f967209ba4 /home/tmux.nix
parent501aa3cb745a7bf57188a79e31cdcfe31cd3b1b4 (diff)
minor fixes
Diffstat (limited to 'home/tmux.nix')
-rw-r--r--home/tmux.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/home/tmux.nix b/home/tmux.nix
index 3c3a5d1..f6c59da 100644
--- a/home/tmux.nix
+++ b/home/tmux.nix
@@ -6,7 +6,7 @@
mouse = true;
keyMode = "vi";
baseIndex = 1;
- prefix = "C-\\";
+ prefix = "C-b";
terminal = "xterm-ghostty";
plugins = with pkgs.tmuxPlugins; [
sensible
@@ -27,7 +27,8 @@
];
extraConfig = ''
set -g status-position top
- set -g set-clipboard on
+ set -s set-clipboard on
+ set -s get-clipboard both
set -g set-titles on
set -g set-titles-string "#{session_name}"
setw -g pane-base-index 1
@@ -35,6 +36,11 @@
set -as terminal-features ",xterm-ghostty:hyperlinks"
set -ga terminal-overrides ",xterm-ghostty:Tc"
+ unbind C-b
+ set -g prefix C-\\
+ bind -N "Send the prefix key through to the application" C-\\ send-prefix
+ bind -N "Refresh system clipboard via OSC 52" Y refresh-client -l
+
bind v split-window -h -c "#{pane_current_path}"
bind b split-window -v -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"