Skip to content

Commit

Permalink
Fixed colors with tmux+vim.
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Rexhepi-Lindberg committed Jun 29, 2023
1 parent cfb0e22 commit 3bcbfcd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ unbind Pagedown
bind -n S-Pageup copy-mode -u
bind -n S-Pagedown send-keys Pagedown

set -g default-terminal "xterm-256color"
set -g default-terminal "${TERM}"
set -ga terminal-overrides ",*256col*:Tc"
set -as terminal-overrides ',xterm*:sitm=\E[3m'

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
Expand Down
2 changes: 2 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
" Packages."
packadd! dracula
set termguicolors
set background=dark

" Remember last position. "
if has("autocmd")
Expand Down

0 comments on commit 3bcbfcd

Please sign in to comment.