diff --git a/home/minttyrc b/home/minttyrc new file mode 100644 index 0000000..6dd02ff --- /dev/null +++ b/home/minttyrc @@ -0,0 +1,40 @@ +Font=tewi +FontHeight=8 +FontSmoothing=none +BoldAsFont=no +FontIsBold=no +AllowBlinking=yes +CursorType=block +Locale=C +Charset=UTF-8 +Columns=84 +Rows=36 +RowSpacing=-2 +ClicksPlaceCursor=yes +RightClickAction=menu +CtrlShiftShortcuts=no +Term=xterm-256color +CursorColour=255,255,255 +Scrollbar=none +WindowShortcuts=no +SwitchShortcuts=no +ZoomShortcuts=no +AltFnShortcuts=no +ForegroundColour=203,206,202 +White=203,206,202 +BackgroundColour=21,22,22 +Black=21,22,22 +BoldWhite=254,253,252 +BoldBlack=56,59,63 +Red=216,93,99 +BoldRed=232,53,59 +Green=126,178,126 +BoldGreen=192,224,112 +Yellow=222,147,95 +BoldYellow=229,196,119 +Blue=124,155,193 +BoldBlue=149,201,229 +Magenta=174,137,186 +BoldMagenta=239,160,223 +Cyan=122,137,133 +BoldCyan=138,190,183 diff --git a/home/vimrc b/home/vimrc index bbfbabc..5d5a54e 100644 --- a/home/vimrc +++ b/home/vimrc @@ -314,6 +314,7 @@ nn 3 :colo Tomorrow-Night nn 4 :colo jellybeans nn 5 :colo colorsbox-stnight nn 6 :colo redblack +nn 7 :colo property16 nn h :tabe:call HiDump() " helper function to toggle hex mode @@ -371,7 +372,7 @@ try | execute pathogen#infect() | catch /E117/ | endtry set background=dark try - colorscheme Tomorrow-Night + colorscheme property16 catch /E185/ colorscheme desert endtry diff --git a/vim/colors/property16.vim b/vim/colors/property16.vim new file mode 100644 index 0000000..c884c8e --- /dev/null +++ b/vim/colors/property16.vim @@ -0,0 +1,270 @@ +" property16.vim by notwa + +let s:k="0" +let s:r="1" +let s:g="2" +let s:y="3" +let s:b="4" +let s:m="5" +let s:c="6" +let s:w="7" +let s:K="8" +let s:R="9" +let s:G="10" +let s:Y="11" +let s:B="12" +let s:M="13" +let s:C="14" +let s:W="15" + +" Theme setup +hi clear +syntax reset +let g:colors_name = "property16" +let g:airline_theme='tomorrow' +set background=dark + +" Highlighting function +fu! X(group, fg, bg) + let l:fg=a:fg + let l:bg=a:bg + if a:fg != "" | exec "hi! ".a:group." ctermfg=".l:fg | endif + if a:bg != "" | exec "hi! ".a:group." ctermbg=".l:bg | endif + exec "hi! ".a:group." cterm=NONE" +endfun + +" Interface + +call X("Normal", s:w, s:k) " good +call X("Bold", s:W, "") " good +call X("Italic", s:c, "") " good +call X("Underlined", s:M, "") " okay +call X("LineNr", s:K, "") " good +call X("Search", s:k, s:Y) " good +call X("VertSplit", s:K, s:K) " good +call X("Folded", s:K, s:k) " good +", +call X("Error", s:R, "") +call X("Exception", s:R, "") " ??? +call X("ErrorMsg", s:k, s:R) +call X("TabLineSel", s:k, s:Y) " okay +call X("Visual", s:k, s:C) " okay +call X("ColorColumn", "", s:K) " okay +call X("MatchParen", s:W, s:c) " okay +call X("Directory", s:B, s:k) " airline: normal mode indicator +call X("CursorLine", s:w, "") " airline: plain center text stuff +call X("PMenu", s:k, s:K) " airline: branch and fileformat +call X("NonText", s:K, "") " inactive status lines? bg doesn't work? +call X("TabLine", s:w, "") +call X("CursorColumn", s:w, "") +call X("SpecialKey", s:K, "") +call X("SignColumn", s:K, "") +", +call X("FoldColumn", s:k, "") +call X("Title", s:y, "") " used for tab line actually? +call X("ModeMsg", s:G, "") " --- VISUAL BLOCK --- +call X("WarningMsg", s:r, "") " search hit BOTTOM +"TODO, +call X("TooLong", s:R, "") +call X("PMenuSel", s:w, "") +call X("MoreMsg", s:w, "") +call X("Question", s:w, "") +", +" Syntax highlighting, +", +call X("Comment", s:c, "") " good +call X("Todo", s:k, s:G) " good +call X("Number", s:r, "") " good +", +call X("Constant", s:r, "") +call X("String", s:r, "") +call X("Structure", s:m, "") +call X("Operator", s:m, "") +call X("Repeat", s:m, "") +call X("Conditional", s:m, "") +call X("Type", s:m, "") +call X("Delimiter", s:C, "") +call X("PreProc", s:C, "") +call X("Special", s:W, "") +call X("Statement", s:W, "") " maybe set same as structure? +call X("Identifier", s:B, "") +call X("Function", s:b, "") +call X("Keyword", s:b, "") +call X("Define", s:b, "") +call X("Include", s:b, "") +call X("Typedef", s:b, "") + +" TODO: Vim editor colors +"Conceal" +"Cursor" +"CursorLineNr" +"Debug" +"IncSearch" +"Macro" +"StatusLine" +"StatusLineNC" +"TabLineFill" +"VisualNOS" +"WildMenu" + +" TODO: Standard syntax highlighting +"Boolean" +"Character" +"Float" +"Label" +"SpecialChar" +"StorageClass" +"Tag" +"Typedef" + +hi link vimCommand Keyword +hi link vimCommentString Comment +hi link vimFuncVar Normal +hi link vimVar Normal + +hi link pythonBoolean Constant +hi link pythonBuiltin Function +hi link pythonBuiltinFunc Function +hi link pythonConditional Conditional +hi link pythonException Structure +hi link pythonImport Function +hi link pythonInclude Function +hi link pythonOperator Structure +hi link pythonRepeat Repeat +hi link pythonRun Comment +hi link pythonStatement Structure + +hi link luaCond Conditional +hi link luaCondElseif Conditional +hi link luaCondEnd Conditional +hi link luaCondStart Conditional +hi link luaFunc Function +hi link luaFunction Function +hi link luaRepeat Repeat +hi link luaStatement Structure + +delf X + +" C highlighting +"cCharacter" +"cDefine" +"cInclude" +"cLabel" +"cOperator" +"cPreCondit" +"cPreProc" +"cRepeat" +"cStatement" +"cStorageClass" +"cType" +"cUserLabel" + +" C++ highlighting +"cppExceptions" +"cppOperator" +"cppStatement" +"cppStorageClass" +"cppType" +"cppModifier" + +" C# highlighting +"csClass" +"csAttribute" +"csModifier" +"csType" +"csUnspecifiedStatement" +"csContextualStatement" +"csNewDecleration" + +" CSS highlighting +"cssBraces" +"cssClassName" +"cssColor" + +" Diff highlighting +"DiffAdd" +"DiffChange" +"DiffDelete" +"DiffText" +"DiffAdded" +"DiffFile" +"DiffNewFile" +"DiffLine" +"DiffRemoved" + +" Git highlighting +"gitCommitOverflow" +"gitCommitSummary" + +" GitGutter highlighting +"GitGutterAdd" +"GitGutterChange" +"GitGutterDelete" +"GitGutterChangeDelete" + +" HTML highlighting +"htmlBold" +"htmlItalic" +"htmlEndTag" +"htmlTag" + +" JavaScript highlighting +"javaScript" +"javaScriptBraces" +"javaScriptNumber" + +" Mail highlighting +"mailQuoted1" +"mailQuoted2" +"mailQuoted3" +"mailQuoted4" +"mailQuoted5" +"mailQuoted6" +"mailURL" +"mailEmail" + +" Markdown highlighting +"markdownCode" +"markdownError" +"markdownCodeBlock" +"markdownHeadingDelimiter" + +" NERDTree highlighting +"NERDTreeDirSlash" +"NERDTreeExecFile" + +" PHP highlighting +"phpMemberSelector" +"phpComparison" +"phpParent" + +" Python highlighting +"pythonOperator" +"pythonRepeat" + +" Ruby highlighting +"rubyAttribute" +"rubyConstant" +"rubyInterpolation" +"rubyInterpolationDelimiter" +"rubyRegexp" +"rubySymbol" +"rubyStringDelimiter" + +" SASS highlighting +"sassidChar" +"sassClassChar" +"sassInclude" +"sassMixing" +"sassMixinName" + +" Signify highlighting +"SignifySignAdd" +"SignifySignChange" +"SignifySignDelete" + +" Spelling highlighting +"SpellBad" +"SpellLocal" +"SpellCap" +"SpellRare"