diff options
| author | tv <tv@krebsco.de> | 2026-10-07 19:12:30 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-08 12:49:28 +0200 |
| commit | f64964b14f2b48a69abbc9ddebfce93e512fb452 (patch) | |
| tree | 1d8b985ad632c0546601c60804fc2ddb89d5b967 | |
| parent | dc480118fc73da1c2c06aeebf7822bd7525590f3 (diff) | |
vim: use termguicolors
| -rw-r--r-- | configs/vim.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/vim.nix b/configs/vim.nix index 8f06084..b3210a5 100644 --- a/configs/vim.nix +++ b/configs/vim.nix @@ -118,7 +118,11 @@ &t_EI = "\e[2 q" au VimEnter * silent !echo -ne "\e[2 q" - set t_Co=256 + if !empty($TMUX) && &term == "tmux-direct" + &term = "xterm-256color" + endif + + set termguicolors colorscheme hack |
