diff --git a/vimrc b/vimrc index daae2e4..72cd3f2 100644 --- a/vimrc +++ b/vimrc @@ -37,6 +37,13 @@ endfunction "-------------------------------------------- " Colors "-------------------------------------------- +if has('termguicolors') + set termguicolors + " Set Vim-specific sequences for RGB colors + let &t_8f = "\[38;2;%lu;%lu;%lum" + let &t_8b = "\[48;2;%lu;%lu;%lum" +endif + let g:campo_dark_theme = 'campo-simple-dark' "let g:campo_dark_theme = 'campo-dark-blue' "let g:campo_dark_theme = 'campo-dark-grey-blue' @@ -282,6 +289,7 @@ set backspace=indent,eol,start " Allow backspacing over everything in insert set complete+=kspell " Spell checking autocomplete. set complete-=i " Don't scan all included files since it's really slow. +set termguicolors syntax on " Enable highlighting for syntax set wildmenu diff --git a/zshrc b/zshrc index e1da854..d17528d 100644 --- a/zshrc +++ b/zshrc @@ -90,8 +90,8 @@ bindkey -e source $ZSH/lib/*.zsh # Source my custom files after oh-my-zsh so I can override things. -source $HOME/.dotfiles/functions -source $HOME/.dotfiles/aliases +source $HOME/.env.platform +source $HOME/.aliases # Fix in neovim infocmp $TERM | sed 's/kbs=^[hH]/kbs=\\177/' > $HOME/.$TERM.ti