From 447d372925ba1ffc11d7fec3d0dcf39d620640d4 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Mon, 13 Dec 2021 14:42:39 +0100 Subject: Vim colours working correctly in tmux --- .config/alacritty/alacritty.yml | 4 ++-- .config/tmux/tmux.conf | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 0aa561f..14538d4 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -13,14 +13,14 @@ # Any items in the `env` entry below will be added as # environment variables. Some entries may override variables # set by alacritty itself. -#env: +env: # TERM variable # # This value is used to set the `$TERM` environment variable for # each instance of Alacritty. If it is not present, alacritty will # check the local terminfo database and use `alacritty` if it is # available, otherwise `xterm-256color` is used. -#TERM: alacritty + TERM: xterm-256color window: # Window dimensions (changes require restart) # diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 373816f..434bf51 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,3 +1,5 @@ +set -g default-terminal "tmux-256color" +set -ag terminal-overrides ",xterm-256color:RGB" set -g base-index 1 set-window-option -g automatic-rename on set-option -g set-titles on -- cgit v1.2.3-70-g09d2