From: Ben Beltran Date: Sun, 14 Apr 2019 23:19:44 +0000 (+0200) Subject: Update vim config, add new color scheme X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/d2114c7b9e76661a6bc7154a23e37efa0d9c9214 Update vim config, add new color scheme --- diff --git a/vim-rbdr-colors.vim/colors/rbdr.vim b/vim-rbdr-colors.vim/colors/rbdr.vim new file mode 100644 index 0000000..93f143d --- /dev/null +++ b/vim-rbdr-colors.vim/colors/rbdr.vim @@ -0,0 +1,101 @@ +" Vim color scheme +" +" Name: rbdr.vim +" Maintainer: Rubén Beltrán del Río +" Last Change: 11 Apr 2019 +" License: public domain +" Version: 1.0 +" +" 256 color scheme using (almost) CGA colors + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif + +let g:colors_name = "rbdr" + +hi Normal guifg=#FFF1E8 guibg=#232323 +hi Comment guifg=#FF55FF +hi Cursor guifg=#232323 guibg=#FFEC27 +hi LineNr guifg=#555555 guibg=#232323 +hi NonText guifg=#555555 +hi SpecialKey guifg=#555555 + +hi Boolean guifg=#FF55FF +hi Character guifg=#FFEC27 +hi Number guifg=#FF55FF +hi String guifg=#55FF55 +hi Conditional guifg=#FF004D gui=bold +hi Constant guifg=#FFEC27 +hi Debug guifg=#FF77A8 gui=bold + +hi Define guifg=#FF004D +hi Delimiter guifg=#55FF55 + +hi DiffAdd guibg=#232323 +hi DiffChange guifg=#AAAAAA guibg=#555555 +hi DiffDelete guifg=#FF004D guibg=#232323 +hi DiffText guibg=#555555 gui=italic,bold + +hi Directory guifg=#55FF55 gui=bold +hi Error guifg=#FFF1E8 guibg=#FF004D +hi ErrorMsg guifg=#FFF1E8 guibg=#FF004D gui=bold +hi Exception guifg=#55FF55 +hi Float guifg=#FF55FF +hi FoldColumn guifg=#555555 guibg=#232323 +hi Folded guifg=#555555 guibg=#232323 +hi Function guifg=#55FF55 +hi Identifier guifg=#FF004D gui=NONE +hi Ignore guifg=#AAAAAA guibg=bg +hi IncSearch guifg=#FFEC27 guibg=#232323 + +hi Keyword guifg=#FF004D gui=bold +hi Label guifg=#FFEC27 gui=none +hi Macro guifg=#FFEC27 gui=italic +hi SpecialKey guifg=#55FFFF gui=italic + +hi MatchParen guifg=#232323 guibg=#FFEC27 gui=bold +hi ModeMsg guifg=#FFEC27 +hi MoreMsg guifg=#FFEC27 +hi Operator guifg=#FF004D + +" complete menu +hi Pmenu guifg=#55FFFF guibg=#232323 +hi PmenuSel guibg=#555555 +hi PmenuSbar guibg=#080808 +hi PmenuThumb guifg=#55FFFF + +hi PreCondit guifg=#55FF55 gui=bold +hi PreProc guifg=#A6E22E +hi Question guifg=#55FFFF +hi Repeat guifg=#FF004D gui=bold +hi Search guibg=#FFF1E8 guifg=#555555 + +hi SignColumn guifg=#55FF55 guibg=#232323 +hi SpecialChar guifg=#FF004D gui=bold +hi SpecialComment guifg=#AAAAAA gui=bold +hi Special guifg=#55FFFF guibg=bg gui=italic + +hi Statement guifg=#FF004D gui=bold +hi StatusLine guifg=#555555 guibg=fg +hi StatusLineNC guifg=#AAAAAA guibg=#080808 +hi StorageClass guifg=#FFFF55 gui=italic +hi Structure guifg=#55FFFF +hi Tag guifg=#FF004D gui=italic +hi Title guifg=#5555FF +hi Todo guifg=#FFF1E8 guibg=bg gui=bold + +hi Type guifg=#55FFFF gui=NONE +hi Typedef guifg=#55FFFF +hi Underlined guifg=#AAAAAA gui=underline + +hi Include guifg=#FFEC27 gui=NONE + +hi VertSplit guifg=#808080 guibg=#080808 gui=bold +hi VisualNOS guibg=#555555 +hi Visual guibg=#555555 +hi WarningMsg guifg=#FFFFFF guibg=#555555 gui=bold +hi WildMenu guifg=#55FFFF guibg=#000000 +hi CursorLine guibg=#555555 diff --git a/vim/colors/rbdr.vim b/vim/colors/rbdr.vim new file mode 120000 index 0000000..5a7e0ec --- /dev/null +++ b/vim/colors/rbdr.vim @@ -0,0 +1 @@ +../../vim-rbdr-colors.vim/colors/rbdr.vim \ No newline at end of file diff --git a/vimrc b/vimrc index d1f7c9f..b059ccf 100755 --- a/vimrc +++ b/vimrc @@ -111,8 +111,8 @@ set modeline set modelines=10 " Default color scheme -set t_Co=256 -color molokai +set termguicolors +color rbdr " Directories for swp files set backupdir=~/.vim/.backup @@ -196,3 +196,6 @@ let g:fzf_colors = \ 'marker': ['fg', 'Keyword'], \ 'spinner': ['fg', 'Label'], \ 'header': ['fg', 'Comment'] } + +" ALE config +let g:ale_linters = {'javascript': ['eslint']} diff --git a/xterm-256color-italic.terminfo b/xterm-256color-italic.terminfo new file mode 100644 index 0000000..68407ae --- /dev/null +++ b/xterm-256color-italic.terminfo @@ -0,0 +1,4 @@ +# A xterm-256color based TERMINFO that adds the escape sequences for italic. +xterm-256color-italic|xterm with 256 colors and italic, + sitm=\E[3m, ritm=\E[23m, + use=xterm-256color,