2019-10-03T08:37:23+09:00 [Thu]
--> [労働]
魂を加速する
120msもかかっていたvim(iterm2上)の起動を90msまで短縮した、たった一つの冴えたやり方的ななにか。
colorschemeを決めうちに変更。
そんだけ。
立派に作られたcolorschemeは各種のなにかに対応するため、ちゃんとしたスクリプトっぽい構成になっていますが、決まってしまえばめったに変更することがないので決め打ちに変更してしまいましょう。
なんだかんだいっても決め打ち数値を割り当てるだけの逐次処理は最強です。
せっかくなので、黒バック用の陰キャ全閉、見てるだけで陰気になる華やかさの破片もない普段遣いのものを晒しておきます。
もとはjellybeansだったはずなのですが、原型をとどめていません…。
何もかもが決め打ちなので、guiのみ。
"jellymod2 guionly hi clear syntax reset set background=dark let colors_name="jellymod2" hi! Normal guifg=#EEEEEE guibg=#000000 cterm=NONE gui=NONE hi! ColorColumn guibg=#000000 hi! Comment guifg=#888888 hi! Constant guifg=#DF6A5C cterm=NONE gui=NONE hi! Cursor guifg=#222222 guibg=#AAAADD hi! CursorColumn guibg=#1C1C1C hi! CursorLine guibg=#1C1C1C hi! CursorLineNr guifg=#AAAAAA cterm=NONE gui=NONE hi! DbgBreakPt guibg=#4F0037 hi! DbgCurrent guifg=#DEEBFE guibg=#345FA8 hi! Delimiter guifg=#668799 hi! DiffAdd guifg=#D2EBBE guibg=#405026 cterm=NONE gui=NONE hi! DiffChange guibg=#334455 cterm=NONE gui=NONE hi! DiffDelete guifg=#444444 guibg=#300000 cterm=NONE gui=NONE hi! DiffText guibg=#7697D6 cterm=NONE gui=NONE hi! Directory guifg=#7697D6 hi! ErrorMsg guifg=#FFAAFF guibg=#000000 cterm=NONE gui=NONE hi! FoldColumn guifg=#535D66 guibg=#111111 cterm=NONE gui=NONE hi! Folded guifg=#A0A8B0 guibg=#384048 hi! Function guifg=#FAD07A cterm=NONE gui=NONE hi! Identifier guifg=#C6B6EE cterm=NONE gui=NONE hi! LineNr guifg=#444444 cterm=NONE gui=NONE hi! MatchParen guifg=#FFFFFF guibg=#556779 hi! ModeMsg guifg=#999999 cterm=NONE gui=NONE hi! NonText guifg=#555555 cterm=NONE gui=NONE hi! Pmenu guifg=#DDDDDD guibg=#111111 hi! PmenuSel guifg=#DDDDDD guibg=#333333 hi! PreProc guifg=#8FBFDC cterm=NONE gui=NONE hi! PreciseJumpTarget guifg=#B9ED67 guibg=#405026 hi! Question guifg=#79AA6A cterm=NONE gui=NONE hi! Search guifg=#000000 guibg=#FFFF88 cterm=NONE gui=NONE hi! SignColumn guifg=#777777 guibg=#111111 hi! Special guifg=#44AA99 cterm=NONE gui=NONE hi! SpecialKey guifg=#774444 cterm=NONE gui=NONE hi! SpellBad guifg=#FFAAFF hi! SpellCap guifg=#7697D6 cterm=NONE gui=NONE hi! SpellLocal guifg=#2D7067 cterm=NONE gui=NONE hi! SpellRare guifg=#770066 cterm=NONE gui=NONE hi! Statement guifg=#8197CF cterm=NONE gui=NONE hi! StatusLine guifg=#111111 guibg=#666666 cterm=NONE,reverse gui=NONE,reverse hi! StatusLineNC guifg=#222222 guibg=#666666 cterm=NONE,reverse gui=NONE,reverse hi! StatusLineTerm guifg=#666666 guibg=#110033 cterm=NONE gui=NONE hi! StatusLineTermNC guifg=#666666 guibg=#222222 cterm=NONE gui=NONE hi! StorageClass guifg=#dd996F cterm=NONE gui=NONE hi! String guifg=#79AA6A hi! StringDelimiter guifg=#556633 hi! Structure guifg=#8FBFEE cterm=NONE gui=NONE hi! TabLine guifg=#666666 guibg=#000000 cterm=NONE gui=NONE hi! TabLineFill guifg=#000000 guibg=#000000 cterm=NONE gui=NONE hi! TabLineSel guifg=#AAAAAA guibg=#000000 cterm=NONE gui=NONE hi! Title guifg=#79AA6A cterm=NONE gui=NONE hi! Todo guifg=#333333 guibg=#FFFFAA hi! ToolbarLine cterm=NONE gui=NONE hi! ToolbarButton cterm=NONE gui=NONE hi! Type guifg=#FAD07A cterm=NONE gui=NONE hi! VertSplit guifg=#111111 guibg=#111111 hi! Visual guibg=#404050 hi! VisualNOS cterm=NONE gui=NONE hi! WarningMsg guifg=#FFFFFF cterm=NONE gui=NONE hi! WildMenu guifg=#FFAAFF guibg=#302028 hi! rubyClass guifg=#447799 cterm=NONE gui=NONE hi! rubyControl guifg=#8197BF cterm=NONE gui=NONE hi! rubyIdentifier guifg=#C6B6FE hi! rubyInstanceVariable guifg=#C6B6FE hi! rubyPredefinedIdentifier guifg=#DE5577 hi! rubyRegexp guifg=#EE55EE hi! rubyRegexpDelimiter guifg=#6600EE hi! rubyRegexpSpecial guifg=#CC6666 hi! rubySymbol guifg=#7697D6 cterm=NONE gui=NONE hi! link MoreMsg ModeMsg hi! link IncSearch Search hi! link Conceal Operator hi! link Error ErrorMsg hi! link Operator Structure hi! link TagListFileName Directory hi! link cFormat Identifier hi! link cOperator Constant hi! link cocoaClass objcClass hi! link cocoaFunction Function hi! link coffeeRegExp javaScriptRegexpString hi! link diffAdded String hi! link diffRemoved Constant hi! link elixirAtom rubySymbol hi! link erlangAtom rubySymbol hi! link erlangBIF rubyPredefinedIdentifier hi! link erlangDirective Statement hi! link erlangFunction rubyPredefinedIdentifier hi! link erlangNode Identifier hi! link htmlEndTag htmlTag hi! link htmlTag Statement hi! link htmlTagName htmlTag hi! link htmlBoldItalic Special hi! link htmlBoldUnderlineItalic Special hi! link htmlUnderlineItalic special hi! link htmlItalic special hi! link javaScriptRegexpString rubyRegexp hi! link javaScriptTemplateDelim Identifier hi! link javaScriptTemplateString String hi! link javaScriptTemplateVar StringDelim hi! link javaScriptValue Constant hi! link luaOperator Conditional hi! link objcClass Type hi! link objcDirective rubyClass hi! link objcMessageName Identifier hi! link objcMethodArg Normal hi! link objcMethodName Identifier hi! link objcStatement Constant hi! link objcSubclass objcClass hi! link objcSuperclass objcClass hi! link phpArrayPair Operator hi! link phpBoolean Constant hi! link phpFunctions Function hi! link phpNull Constant hi! link phpOperator Normal hi! link phpQuoteDouble StringDelimiter hi! link phpQuoteSingle StringDelimiter hi! link phpRelation Normal hi! link phpSuperglobal Identifier hi! link phpVarSelector Identifier hi! link pythonOperator Statement hi! link rubyConstant Type hi! link rubyFunction Function hi! link rubyGlobalVariable rubyInstanceVariable hi! link rubyInterpolationDelimiter Identifier hi! link rubyModule rubyClass hi! link rubySharpBang Comment hi! link rubyString String hi! link rubyStringDelimiter StringDelimiter hi! link vimOper Normal hi! link xmlDocTypeDecl PreProc hi! link xmlDocTypeKeyword PreProc hi! link xmlEndTag xmlTag hi! link xmlEntity Special hi! link xmlEntityPunct xmlEntity hi! link xmlEqual xmlTag hi! link xmlProcessingDelim xmlAttrib hi! link xmlTag Statement hi! link xmlTagName xmlTag hi! link EndOfBuffer Ignore
MacVimだと、このあとGUIの起動という大仕事があるので、この程度切り詰めても体感できるほどの効果はありません。