diff --git a/modules/darwin/home/programs/ghostty.nix b/modules/darwin/home/programs/ghostty.nix index 07d1934..16a2078 100644 --- a/modules/darwin/home/programs/ghostty.nix +++ b/modules/darwin/home/programs/ghostty.nix @@ -5,6 +5,7 @@ settings = { theme = "dracula"; + background-opacity = 0.75; command = "shell:${config.home.profileDirectory}/bin/tmux new-session -A -s ghostty"; keybind = [ "cmd+k=text:\\x01K" ]; diff --git a/modules/home/rsydn/shell/tmux.nix b/modules/home/rsydn/shell/tmux.nix index fc13357..8e9ebc3 100644 --- a/modules/home/rsydn/shell/tmux.nix +++ b/modules/home/rsydn/shell/tmux.nix @@ -22,8 +22,8 @@ set-option -g default-terminal "screen-256color" set-option -ga terminal-overrides ",*256col*:Tc" set-option -g focus-events on - set -s extended-keys on - set -as terminal-features 'xterm-ghostty:extkeys' + # Avoid CSI-u newline remapping that breaks Neovim pastes + set -as terminal-features 'xterm-ghostty:bpaste,clipboard,RGB' set-option -g status-style "bg=#282a36 fg=#f8f8f2" set -g status-interval 5 setw -g automatic-rename on