From 015a77d69c1bfe30c3d83795e339d78b1c9e9fcc Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 5 Sep 2020 14:52:28 +0200 Subject: [PATCH 1/2] Add colors --- .vim/colors/simple-dark.vim | 126 ++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 .vim/colors/simple-dark.vim diff --git a/.vim/colors/simple-dark.vim b/.vim/colors/simple-dark.vim new file mode 100644 index 0000000..ceb2f15 --- /dev/null +++ b/.vim/colors/simple-dark.vim @@ -0,0 +1,126 @@ +highlight clear +set background=dark + +if version > 580 + if exists("syntax_on") + syntax reset + endif +endif + +let g:colors_name = "simple-dark" + +if has("gui_running") || &t_Co == 256 + hi NonText cterm=NONE ctermfg=black ctermbg=NONE gui=NONE guifg=bg guibg=#0c0c0c + hi Normal cterm=NONE ctermfg=247 ctermbg=NONE gui=NONE guifg=#cccccc guibg=#0c0c0c + hi Keyword cterm=NONE ctermfg=255 ctermbg=NONE gui=NONE guifg=#eeeeee guibg=#0c0c0c + hi Constant cterm=NONE ctermfg=252 ctermbg=NONE gui=NONE guifg=#d0d0d0 guibg=#0c0c0c + hi String cterm=NONE ctermfg=245 ctermbg=NONE gui=NONE guifg=#8a8a8a guibg=#0c0c0c + hi Comment cterm=NONE ctermfg=240 ctermbg=NONE gui=NONE guifg=#585858 guibg=#0c0c0c + hi Number cterm=NONE ctermfg=255 ctermbg=NONE gui=NONE guifg=#ff0000 guibg=#0c0c0c + hi Error cterm=NONE ctermfg=255 ctermbg=DarkGray gui=NONE guifg=#eeeeee guibg=#0c0c0c + hi ErrorMsg cterm=NONE ctermfg=255 ctermbg=DarkGray gui=NONE guifg=#eeeeee guibg=#0c0c0c + hi Search cterm=NONE ctermfg=245 ctermbg=Gray gui=NONE guifg=#8a8a8a guibg=#0c0c0c + hi IncSearch cterm=reverse ctermfg=255 ctermbg=245 gui=reverse guifg=#eeeeee guibg=#0c0c0c + hi DiffChange cterm=NONE ctermfg=240 ctermbg=255 gui=NONE guifg=#8a8a8a guibg=#0c0c0c + hi DiffText cterm=bold ctermfg=255 ctermbg=DarkGray gui=bold guifg=#bcbcbc guibg=#0c0c0c + hi SignColumn cterm=NONE ctermfg=240 ctermbg=NONE gui=NONE guifg=#8a8a8a guibg=#0c0c0c + hi SpellBad cterm=undercurl ctermfg=255 ctermbg=245 gui=undercurl guifg=#eeeeee guibg=#0c0c0c + hi SpellCap cterm=NONE ctermfg=255 ctermbg=124 gui=NONE guifg=#eeeeee guibg=#0c0c0c + hi SpellRare cterm=NONE ctermfg=240 ctermbg=black gui=NONE guifg=#8a8a8a guibg=#0c0c0c + hi WildMenu cterm=NONE ctermfg=240 ctermbg=255 gui=NONE guifg=#585858 guibg=#0c0c0c + hi Pmenu ctermfg=NONE ctermbg=235 cterm=NONE guifg=NONE guibg=#64666d gui=NONE + hi PmenuSel ctermfg=NONE ctermbg=24 cterm=NONE guifg=NONE guibg=#204a87 gui=NONE + hi SpecialKey cterm=NONE ctermfg=black ctermbg=255 gui=NONE guifg=#eeeeee guibg=#0c0c0c + hi MatchParen cterm=NONE ctermfg=white ctermbg=NONE gui=NONE guifg=#eeeeee guibg=#0c0c0c + hi CursorLine cterm=NONE ctermfg=NONE ctermbg=233 gui=NONE guifg=NONE guibg=#0c0c0c + hi StatusLine cterm=bold,reverse ctermfg=240 ctermbg=NONE gui=bold,reverse guifg=#8a8a8a guibg=#0c0c0c + hi StatusLineNC cterm=reverse ctermfg=240 ctermbg=NONE gui=reverse guifg=#303030 guibg=#0c0c0c + hi Visual cterm=reverse ctermfg=250 ctermbg=NONE gui=reverse guifg=#bcbcbc guibg=#0c0c0c + hi VertSplit cterm=NONE ctermfg=Gray ctermbg=NONE gui=NONE guifg=#0c0c0c guibg=#0c0c0c + hi TermCursor cterm=reverse ctermfg=NONE ctermbg=NONE gui=reverse guifg=NONE guibg=NONE + hi ColorColumn cterm=reverse ctermfg=NONE ctermbg=NONE gui=reverse guifg=NONE guibg=NONE + hi ModeMsg cterm=NONE ctermfg=DarkGray ctermbg=NONE +else + hi Normal cterm=NONE ctermfg=247 ctermbg=NONE + hi Keyword cterm=NONE ctermfg=White ctermbg=NONE + hi Constant cterm=NONE ctermfg=Gray ctermbg=NONE + hi String cterm=NONE ctermfg=Gray ctermbg=NONE + hi Comment cterm=NONE ctermfg=DarkGray ctermbg=NONE + hi Number cterm=NONE ctermfg=White ctermbg=NONE + hi Error cterm=NONE ctermfg=White ctermbg=NONE + hi ErrorMsg cterm=NONE ctermfg=White ctermbg=NONE + hi Search cterm=NONE ctermfg=Gray ctermbg=NONE + hi IncSearch cterm=reverse ctermfg=White ctermbg=NONE + hi DiffChange cterm=NONE ctermfg=White ctermbg=NONE + hi DiffText cterm=bold ctermfg=Gray ctermbg=White + hi SignColumn cterm=NONE ctermfg=White ctermbg=NONE + hi SpellBad cterm=undercurl ctermfg=White ctermbg=NONE + hi SpellCap cterm=NONE ctermfg=White ctermbg=NONE + hi SpellRare cterm=NONE ctermfg=White ctermbg=NONE + hi WildMenu cterm=NONE ctermfg=DarkGray ctermbg=NONE + hi Pmenu ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#64666d gui=NONE + hi PmenuSel ctermfg=NONE ctermbg=24 cterm=NONE guifg=NONE guibg=#204a87 gui=NONE + hi SpecialKey cterm=NONE ctermfg=White ctermbg=NONE + hi MatchParen cterm=NONE ctermfg=White ctermbg=DarkGray + hi CursorLine cterm=NONE ctermfg=NONE ctermbg=NONE + hi StatusLine cterm=bold,reverse ctermfg=230 ctermbg=NONE + hi StatusLineNC cterm=reverse ctermfg=230 ctermbg=NONE + hi Visual cterm=reverse ctermfg=Gray ctermbg=NONE + hi TermCursor cterm=reverse ctermfg=NONE ctermbg=NONE + hi ColorColumn cterm=reverse ctermfg=NONE ctermbg=NONE + hi ModeMsg cterm=NONE ctermfg=DarkGray ctermbg=NONE +endif + +hi! link Conceal Normal +hi! link Boolean Normal +hi! link Delimiter Normal +hi! link Identifier Normal +hi! link Title Normal +hi! link Debug Normal +hi! link Exception Normal +hi! link FoldColumn Normal +hi! link Macro Normal +hi! link ModeMsg Normal +hi! link MoreMsg Normal +hi! link Question Normal +hi! link Conditional Keyword +hi! link Statement Keyword +hi! link Operator Keyword +hi! link Structure Keyword +hi! link Function Keyword +hi! link Include Keyword +hi! link Type Keyword +hi! link Typedef Keyword +hi! link Todo Keyword +hi! link Label Keyword +hi! link Define Keyword +hi! link DiffAdd Keyword +hi! link diffAdded Keyword +hi! link diffCommon Keyword +hi! link Directory Keyword +hi! link PreCondit Keyword +hi! link PreProc Keyword +hi! link Repeat Keyword +hi! link Special Keyword +hi! link SpecialChar Keyword +hi! link StorageClass Keyword +hi! link SpecialComment String +hi! link CursorLineNr String +hi! link Character Number +hi! link Float Number +hi! link Tag Number +hi! link Folded Number +hi! link WarningMsg Number +hi! link iCursor SpecialKey +hi! link SpellLocal SpellCap +hi! link LineNr Comment +hi! link NonText NonText +hi! link DiffDelete Comment +hi! link diffRemoved Comment +hi! link PmenuSbar Visual +hi! link PmenuSel Visual +hi! link VisualNOS Visual +hi! link VertSplit VertSplit +hi! link Underlined SpellRare +hi! link rstEmphasis SpellRare +hi! link diffChanged DiffChange From 08476bc74dad8b90537221ef8f84e5bb45445c1c Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 5 Sep 2020 14:59:09 +0200 Subject: [PATCH 2/2] Adjust zoom keybindings --- .suckless/st-8.3/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.suckless/st-8.3/config.h b/.suckless/st-8.3/config.h index 28a74c9..52fc553 100644 --- a/.suckless/st-8.3/config.h +++ b/.suckless/st-8.3/config.h @@ -173,8 +173,8 @@ static Shortcut shortcuts[] = { { ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, - { MODKEY|ShiftMask, XK_Prior, zoom, {.f = +4} }, - { MODKEY|ShiftMask, XK_Next, zoom, {.f = -4} }, + { ControlMask, XK_Prior, zoom, {.f = +4} }, + { ControlMask, XK_Next, zoom, {.f = -4} }, { MODKEY|ShiftMask, XK_Home, zoomreset, {.f = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} },