home: tmux: migrate to 'terminalFeatures'
There are other terminal capabilities I want to override in tmux, so let's make this type more extensible.
This commit is contained in:
parent
97cc08d199
commit
742b4c39a2
4 changed files with 33 additions and 22 deletions
|
|
@ -12,8 +12,10 @@
|
|||
# I use scripts that use the passthrough sequence often on this host
|
||||
enablePassthrough = true;
|
||||
|
||||
# HTerm uses `xterm-256color` as its `$TERM`, so use that here
|
||||
trueColorTerminals = [ "xterm-256color" ];
|
||||
terminalFeatures = {
|
||||
# HTerm uses `xterm-256color` as its `$TERM`, so use that here
|
||||
xterm-256color = { };
|
||||
};
|
||||
};
|
||||
|
||||
ssh = {
|
||||
|
|
|
|||
|
|
@ -15,8 +15,10 @@
|
|||
# I use scripts that use the passthrough sequence often on this host
|
||||
enablePassthrough = true;
|
||||
|
||||
# HTerm uses `xterm-256color` as its `$TERM`, so use that here
|
||||
trueColorTerminals = [ "xterm-256color" ];
|
||||
terminalFeatures = {
|
||||
# HTerm uses `xterm-256color` as its `$TERM`, so use that here
|
||||
xterm-256color = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Allow using 24bit color when SSH-ing from various clients
|
||||
tmux.trueColorTerminals = [
|
||||
# Allow using extended features when SSH-ing from various clients
|
||||
tmux.terminalFeatures = {
|
||||
# My usual terminal, e.g: on laptop
|
||||
"alacritty"
|
||||
];
|
||||
alacritty = { };
|
||||
};
|
||||
|
||||
# Always start a tmux session when opening a shell session
|
||||
zsh.launchTmux = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue