feat(tmux): set terminal-features

This commit is contained in:
2025-12-20 12:57:47 +08:00
parent 4c63836d35
commit 91c539ad99
3 changed files with 4 additions and 3 deletions

View File

@@ -69,7 +69,10 @@ in
]; ];
programs.tmux = { programs.tmux = {
enable = true; enable = true;
extraConfig = "set-option -g mouse on"; extraConfig = ''
set-option -g mouse on
set-option -a terminal-features ",xterm-256color:RGB,focus,clipboard,usstyle"
'';
plugins = [ plugins = [
(pkgs.tmuxPlugins.mkTmuxPlugin { (pkgs.tmuxPlugins.mkTmuxPlugin {
pluginName = "tokyo-night-tmux"; pluginName = "tokyo-night-tmux";

View File

@@ -49,7 +49,6 @@ in
ls = "lsd"; ls = "lsd";
svim = "doasedit"; svim = "doasedit";
nf = "fastfetch"; nf = "fastfetch";
tmux = "tmux -T RGB,focus,overline,mouse,clipboard,usstyle";
}; };
interactiveShellInit = lib.mkBefore '' interactiveShellInit = lib.mkBefore ''
fish_vi_key_bindings fish_vi_key_bindings

View File

@@ -54,7 +54,6 @@ in
ls = "lsd"; ls = "lsd";
svim = "doasedit"; svim = "doasedit";
nf = "fastfetch"; nf = "fastfetch";
tmux = "tmux -T RGB,focus,overline,mouse,clipboard,usstyle";
}; };
}; };
}; };