summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-12-13 14:42:39 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-12-13 14:45:17 +0100
commit447d372925ba1ffc11d7fec3d0dcf39d620640d4 (patch)
treea2265d790906ffcc10b2b6e81d18904219083b51 /.config
parentb4a0c550c3ba117c7cb17f47f8f2045ab8adefc3 (diff)
Vim colours working correctly in tmux
Diffstat (limited to '.config')
-rw-r--r--.config/alacritty/alacritty.yml4
-rw-r--r--.config/tmux/tmux.conf2
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