From 4f5f559be9fc4359692cc8f0cd90588a43774753 Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Thu, 10 Sep 2026 12:12:45 -0400 Subject: minor fixes --- home/tmux.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'home/tmux.nix') 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}" -- cgit v1.3.1