fix: ghostty export TERM & tmux keybinding

This commit is contained in:
Rasyidan Akbar F. 2025-10-04 23:11:09 +07:00
commit 6e4864d93f
2 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,7 @@
theme = "dracula";
command =
"shell:${config.home.profileDirectory}/bin/tmux new-session -A -s ghostty";
keybind = [ "cmd+k=text:\\x01K" ];
};
themes.dracula = {

View file

@ -18,6 +18,8 @@
'';
}];
extraConfig = ''
set -s extended-keys on
set -as terminal-features 'xterm-ghostty:extkeys'
set-option -g status-style "bg=#282a36 fg=#f8f8f2"
set -g status-interval 5
setw -g automatic-rename on
@ -28,6 +30,7 @@
unbind '"'
unbind %
set -g display-panes-time 1500
bind K send-keys -R \; send-keys C-l \; clear-history
'';
};
}