summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2021-02-23 22:30:59 +0100
committeraktersnurra <gustaf.rydholm@gmail.com>2021-02-23 22:30:59 +0100
commitba5eee9f72838107cd3541cd1e0ca5643cb61964 (patch)
treed17825c390c202de5799df837b21ec12350dc289 /.config
parente3546b5a1b4dab9df621f9d5060e64ebf096dd27 (diff)
fixed the tmux color bug again
Diffstat (limited to '.config')
-rw-r--r--.config/alacritty/alacritty.yml6
-rw-r--r--.config/nvim/themes/spaceway.vim2
-rw-r--r--.config/tmux/.tmux.conf4
-rw-r--r--.config/zsh/exports.zsh3
4 files changed, 8 insertions, 7 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index 8af599d..9435276 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -70,7 +70,7 @@ font:
family: SpaceMono Nerd Font
# Style can be specified to pick a specific face.
# style: Italic
- size: 14.0
+ size: 12.0
offset:
x: 0
@@ -78,6 +78,10 @@ font:
glyph_offset:
x: 0
y: 0
+
+env:
+ TERM: xterm-256color
+
window:
padding:
x: 16
diff --git a/.config/nvim/themes/spaceway.vim b/.config/nvim/themes/spaceway.vim
index 24dcb70..a9f57a1 100644
--- a/.config/nvim/themes/spaceway.vim
+++ b/.config/nvim/themes/spaceway.vim
@@ -1,5 +1,5 @@
" Prevents the colorscheme from loading a custom bg color.
-autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
+" autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
diff --git a/.config/tmux/.tmux.conf b/.config/tmux/.tmux.conf
index 8fdc640..60c6700 100644
--- a/.config/tmux/.tmux.conf
+++ b/.config/tmux/.tmux.conf
@@ -3,8 +3,8 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin "arcticicestudio/nord-tmux"
# Allows vim to display colors correctly.
-set -g terminal-overrides ',xterm-256color:Tc'
-set -as terminal-overrides ',xterm*:sitm=\E[3m'
+set -g default-terminal "tmux-256color"
+set -ag terminal-overrides ",alacritty:RGB"
set -g status-position top # statusbar position
set -g status-interval 1
diff --git a/.config/zsh/exports.zsh b/.config/zsh/exports.zsh
index bdf0c8a..243db8b 100644
--- a/.config/zsh/exports.zsh
+++ b/.config/zsh/exports.zsh
@@ -29,7 +29,4 @@ export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
PATH=$(pyenv root)/shims:$PATH
-# Allows tmux to display colors correctly.
-export TERM="xterm-256color"
-
export GEM_HOME="$HOME/.gem"