added neovim config
commit
84afb34cee
|
@ -0,0 +1,325 @@
|
|||
" 'flattened_dark.vim' -- Vim color scheme.
|
||||
" Maintainer: Romain Lafourcade (romainlafourcade@gmail.com)
|
||||
" Description: Dark Solarized, without the bullshit.
|
||||
|
||||
hi clear
|
||||
|
||||
if exists('syntax_on')
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = 'flattened_dark'
|
||||
|
||||
hi Normal ctermfg=12 ctermbg=8 guifg=#839496 guibg=#002b36 gui=NONE
|
||||
|
||||
set background=dark
|
||||
|
||||
hi ColorColumn cterm=NONE ctermbg=0 guibg=#073642 gui=NONE
|
||||
hi Comment cterm=NONE ctermfg=10 guifg=#586e75 gui=italic
|
||||
hi ConId cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi Conceal cterm=NONE ctermfg=4 ctermbg=8 guifg=#268bd2 guibg=#002b36 gui=NONE
|
||||
hi Constant cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi Cursor cterm=NONE ctermfg=8 ctermbg=12 guifg=#002b36 guibg=#839496 gui=NONE
|
||||
hi CursorColumn cterm=NONE ctermbg=0 guibg=#073642 gui=NONE
|
||||
hi CursorLine cterm=NONE ctermbg=0 guibg=#073642 guisp=#93a1a1 gui=NONE
|
||||
hi CursorLineNr cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi DiffAdd cterm=NONE ctermfg=2 ctermbg=0 guifg=#719e07 guibg=#073642 guisp=#719e07 gui=NONE
|
||||
hi DiffChange cterm=NONE ctermfg=3 ctermbg=0 guifg=#b58900 guibg=#073642 guisp=#b58900 gui=NONE
|
||||
hi DiffDelete cterm=NONE ctermfg=1 ctermbg=0 guifg=#dc322f guibg=#073642 gui=NONE
|
||||
hi DiffText cterm=NONE ctermfg=4 ctermbg=0 guifg=#268bd2 guibg=#073642 guisp=#268bd2 gui=NONE
|
||||
hi Directory cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi Error cterm=NONE ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=#002b36 gui=NONE
|
||||
hi ErrorMsg cterm=reverse ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=NONE gui=reverse
|
||||
hi FoldColumn cterm=NONE ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 gui=NONE
|
||||
hi Folded cterm=NONE,underline ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 guisp=#002b36 gui=NONE
|
||||
hi HelpExample cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi Identifier cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi IncSearch cterm=standout ctermfg=9 guifg=#cb4b16 gui=standout
|
||||
hi LineNr cterm=NONE ctermfg=10 ctermbg=0 guifg=#586e75 guibg=#073642 gui=NONE
|
||||
hi MatchParen cterm=NONE ctermfg=1 ctermbg=10 guifg=#dc322f guibg=#586e75 gui=NONE
|
||||
hi ModeMsg cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi MoreMsg cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi NonText cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
|
||||
hi Pmenu cterm=reverse ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 gui=reverse
|
||||
hi PmenuSbar cterm=reverse ctermfg=7 ctermbg=12 guifg=#eee8d5 guibg=#839496 gui=reverse
|
||||
hi PmenuSel cterm=reverse ctermfg=10 ctermbg=7 guifg=#586e75 guibg=#eee8d5 gui=reverse
|
||||
hi PmenuThumb cterm=reverse ctermfg=12 ctermbg=8 guifg=#839496 guibg=#002b36 gui=reverse
|
||||
hi PreProc cterm=NONE ctermfg=1 guifg=#cb4b16 gui=NONE
|
||||
hi Question cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi Search cterm=reverse ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE gui=reverse
|
||||
hi SignColumn cterm=NONE ctermfg=12 ctermbg=NONE guifg=#839496 guibg=NONE gui=NONE
|
||||
hi Special cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
|
||||
hi SpecialKey cterm=NONE ctermfg=11 ctermbg=0 guifg=#657b83 guibg=#073642 gui=NONE
|
||||
hi SpellBad cterm=undercurl ctermfg=NONE ctermbg=NONE guisp=#dc322f gui=undercurl
|
||||
hi SpellCap cterm=undercurl ctermfg=NONE ctermbg=NONE guisp=#6c71c4 gui=undercurl
|
||||
hi SpellLocal cterm=undercurl ctermfg=NONE ctermbg=NONE guisp=#b58900 gui=undercurl
|
||||
hi SpellRare cterm=undercurl ctermfg=NONE ctermbg=NONE guisp=#2aa198 gui=undercurl
|
||||
hi Statement cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi StatusLine cterm=reverse ctermfg=14 ctermbg=0 guifg=#93a1a1 guibg=#073642 gui=reverse
|
||||
hi StatusLineNC cterm=reverse ctermfg=11 ctermbg=0 guifg=#657b83 guibg=#073642 gui=reverse
|
||||
hi TabLine cterm=underline ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 guisp=#839496 gui=underline
|
||||
hi TabLineFill cterm=underline ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 guisp=#839496 gui=underline
|
||||
hi TabLineSel cterm=underline,reverse ctermfg=10 ctermbg=7 guifg=#586e75 guibg=#eee8d5 guisp=#839496 gui=underline,reverse
|
||||
hi Title cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi Todo cterm=bold ctermfg=5 ctermbg=8 guifg=#d33682 guibg=NONE gui=bold
|
||||
hi Type cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi Underlined cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi VarId cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi VertSplit cterm=NONE ctermfg=11 ctermbg=11 guifg=#657b83 guibg=#657b83 gui=NONE
|
||||
hi Visual cterm=reverse ctermfg=10 ctermbg=8 guifg=#586e75 guibg=#002b36 gui=reverse
|
||||
hi VisualNOS cterm=reverse ctermbg=0 ctermbg=NONE guibg=#073642 guifg=NONE gui=reverse
|
||||
hi WarningMsg cterm=NONE ctermfg=9 guifg=#dc322f gui=NONE
|
||||
hi WildMenu cterm=reverse ctermfg=7 ctermbg=0 guifg=#eee8d5 guibg=#073642 gui=reverse
|
||||
|
||||
hi cPreCondit cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
|
||||
hi gitcommitBranch cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi gitcommitComment cterm=NONE ctermfg=10 guifg=#586e75 gui=italic
|
||||
hi gitcommitDiscardedFile cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
|
||||
hi gitcommitDiscardedType cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
|
||||
hi gitcommitFile cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi gitcommitHeader cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi gitcommitOnBranch cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi gitcommitSelectedFile cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi gitcommitSelectedType cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi gitcommitUnmerged cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi gitcommitUnmergedFile cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi gitcommitUntrackedFile cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
|
||||
hi helpHyperTextEntry cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi helpHyperTextJump cterm=underline ctermfg=4 guifg=#268bd2 gui=underline
|
||||
hi helpNote cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi helpOption cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi helpVim cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
|
||||
hi hsImport cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi hsImportLabel cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsModuleName cterm=underline ctermfg=2 guifg=#719e07 gui=underline
|
||||
hi hsNiceOperator cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsStatement cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsString cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
|
||||
hi hsStructure cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsType cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi hsTypedef cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsVarSym cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hs_DeclareFunction cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi hs_OpFunctionName cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi hs_hlFunctionName cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
|
||||
hi htmlArg cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
|
||||
hi htmlEndTag cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi htmlSpecialTagName cterm=NONE ctermfg=4 guifg=#268bd2 gui=italic
|
||||
hi htmlTag cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi htmlTagN cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi htmlTagName cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
|
||||
hi javaScript cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
|
||||
hi pandocBlockQuote cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocBlockQuoteLeader1 cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocBlockQuoteLeader2 cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi pandocBlockQuoteLeader3 cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi pandocBlockQuoteLeader4 cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
|
||||
hi pandocBlockQuoteLeader5 cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi pandocBlockQuoteLeader6 cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi pandocCitation cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi pandocCitationDelim cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi pandocCitationID cterm=underline ctermfg=5 guifg=#d33682 gui=underline
|
||||
hi pandocCitationRef cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi pandocComment cterm=NONE ctermfg=10 guifg=#586e75 gui=italic
|
||||
hi pandocDefinitionBlock cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocDefinitionIndctr cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocDefinitionTerm cterm=standout ctermfg=13 guifg=#6c71c4 gui=standout
|
||||
hi pandocEmphasis cterm=NONE ctermfg=12 guifg=#839496 gui=italic
|
||||
hi pandocEmphasisDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=italic
|
||||
hi pandocEmphasisHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocEmphasisNested cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi pandocEmphasisNestedDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocEmphasisNestedHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocEmphasisNestedTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocEmphasisTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=italic
|
||||
hi pandocEscapePair cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
|
||||
hi pandocFootnote cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi pandocFootnoteDefLink cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi pandocFootnoteInline cterm=NONE,underline ctermfg=2 guifg=#719e07 gui=NONE,underline
|
||||
hi pandocFootnoteLink cterm=underline ctermfg=2 guifg=#719e07 gui=underline
|
||||
hi pandocHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocHeadingMarker cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi pandocImageCaption cterm=NONE,underline ctermfg=13 guifg=#6c71c4 gui=NONE,underline
|
||||
hi pandocLinkDefinition cterm=underline ctermfg=6 guifg=#2aa198 guisp=#657b83 gui=underline
|
||||
hi pandocLinkDefinitionID cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocLinkDelim cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi pandocLinkLabel cterm=underline ctermfg=4 guifg=#268bd2 gui=underline
|
||||
hi pandocLinkText cterm=NONE,underline ctermfg=4 guifg=#268bd2 gui=NONE,underline
|
||||
hi pandocLinkTitle cterm=underline ctermfg=11 guifg=#657b83 gui=underline
|
||||
hi pandocLinkTitleDelim cterm=underline ctermfg=10 guifg=#586e75 guisp=#657b83 gui=underline
|
||||
hi pandocLinkURL cterm=underline ctermfg=11 guifg=#657b83 gui=underline
|
||||
hi pandocListMarker cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi pandocListReference cterm=underline ctermfg=5 guifg=#d33682 gui=underline
|
||||
hi pandocMetadata cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocMetadataDelim cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi pandocMetadataKey cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocNonBreakingSpace cterm=reverse ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=NONE gui=reverse
|
||||
hi pandocRule cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocRuleLine cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocStrikeout cterm=reverse ctermfg=10 ctermbg=NONE guibg=NONE guifg=#586e75 gui=reverse
|
||||
hi pandocStrikeoutDefinition cterm=reverse ctermfg=13 ctermbg=NONE guibg=NONE guifg=#6c71c4 gui=reverse
|
||||
hi pandocStrikeoutHeading cterm=reverse ctermfg=9 ctermbg=NONE guibg=NONE guifg=#cb4b16 gui=reverse
|
||||
hi pandocStrikeoutTable cterm=reverse ctermfg=4 ctermbg=NONE guibg=NONE guifg=#268bd2 gui=reverse
|
||||
hi pandocStrongEmphasis cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi pandocStrongEmphasisDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocStrongEmphasisEmphasis cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi pandocStrongEmphasisEmphasisDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocStrongEmphasisEmphasisHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocStrongEmphasisEmphasisTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocStrongEmphasisHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocStrongEmphasisNested cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi pandocStrongEmphasisNestedDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocStrongEmphasisNestedHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocStrongEmphasisNestedTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocStrongEmphasisTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocStyleDelim cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi pandocSubscript cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocSubscriptDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocSubscriptHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocSubscriptTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocSuperscript cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocSuperscriptDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocSuperscriptHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocSuperscriptTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTableStructure cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTableZebraDark cterm=NONE ctermfg=4 ctermbg=0 guifg=#268bd2 guibg=#073642 gui=NONE
|
||||
hi pandocTableZebraLight cterm=NONE ctermfg=4 ctermbg=8 guifg=#268bd2 guibg=#002b36 gui=NONE
|
||||
hi pandocTitleBlock cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTitleBlockTitle cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTitleComment cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocVerbatimBlock cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi pandocVerbatimInline cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi pandocVerbatimInlineDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocVerbatimInlineHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi pandocVerbatimInlineTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
|
||||
hi perlHereDoc cterm=NONE ctermfg=14 ctermbg=8 guifg=#93a1a1 guibg=#002b36 gui=NONE
|
||||
hi perlStatementFileDesc cterm=NONE ctermfg=6 ctermbg=8 guifg=#2aa198 guibg=#002b36 gui=NONE
|
||||
hi perlVarPlain cterm=NONE ctermfg=3 ctermbg=8 guifg=#b58900 guibg=#002b36 gui=NONE
|
||||
|
||||
hi rubyDefine cterm=NONE ctermfg=14 ctermbg=8 guifg=#93a1a1 guibg=#002b36 gui=NONE
|
||||
|
||||
hi texMathMatcher cterm=NONE ctermfg=3 ctermbg=8 guifg=#b58900 guibg=#002b36 gui=NONE
|
||||
hi texMathZoneX cterm=NONE ctermfg=3 ctermbg=8 guifg=#b58900 guibg=#002b36 gui=NONE
|
||||
hi texRefLabel cterm=NONE ctermfg=3 ctermbg=8 guifg=#b58900 guibg=#002b36 gui=NONE
|
||||
hi texStatement cterm=NONE ctermfg=6 ctermbg=8 guifg=#2aa198 guibg=#002b36 gui=NONE
|
||||
|
||||
hi vimCmdSep cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi vimCommand cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi vimCommentString cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi vimGroup cterm=NONE,underline ctermfg=4 guifg=#268bd2 gui=NONE,underline
|
||||
hi vimHiGroup cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi vimHiLink cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi vimIsCommand cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
|
||||
hi vimSynMtchOpt cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi vimSynType cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
|
||||
hi link Boolean Constant
|
||||
hi link Character Constant
|
||||
hi link Conditional Statement
|
||||
hi link Debug Special
|
||||
hi link Define PreProc
|
||||
hi link Delimiter Special
|
||||
hi link Exception Statement
|
||||
hi link Float Number
|
||||
hi link Function Identifier
|
||||
hi link HelpCommand Statement
|
||||
hi link Include PreProc
|
||||
hi link Keyword Statement
|
||||
hi link Label Statement
|
||||
hi link Macro PreProc
|
||||
hi link Number Constant
|
||||
hi link Operator Statement
|
||||
hi link PreCondit PreProc
|
||||
hi link Repeat Statement
|
||||
hi link SpecialChar Special
|
||||
hi link SpecialComment Special
|
||||
hi link StorageClass Type
|
||||
hi link String Constant
|
||||
hi link Structure Type
|
||||
hi link SyntasticError SpellBad
|
||||
hi link SyntasticErrorSign Error
|
||||
hi link SyntasticStyleErrorLine SyntasticErrorLine
|
||||
hi link SyntasticStyleErrorSign SyntasticErrorSign
|
||||
hi link SyntasticStyleWarningLine SyntasticWarningLine
|
||||
hi link SyntasticStyleWarningSign SyntasticWarningSign
|
||||
hi link SyntasticWarning SpellCap
|
||||
hi link SyntasticWarningSign Todo
|
||||
hi link Tag Special
|
||||
hi link Typedef Type
|
||||
|
||||
hi link diffAdded Statement
|
||||
hi link diffBDiffer WarningMsg
|
||||
hi link diffCommon WarningMsg
|
||||
hi link diffDiffer WarningMsg
|
||||
hi link diffIdentical WarningMsg
|
||||
hi link diffIsA WarningMsg
|
||||
hi link diffLine Identifier
|
||||
hi link diffNoEOL WarningMsg
|
||||
hi link diffOnly WarningMsg
|
||||
hi link diffRemoved WarningMsg
|
||||
|
||||
hi link gitcommitDiscarded gitcommitComment
|
||||
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
|
||||
hi link gitcommitNoBranch gitcommitBranch
|
||||
hi link gitcommitSelected gitcommitComment
|
||||
hi link gitcommitSelectedArrow gitcommitSelectedFile
|
||||
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
|
||||
hi link gitcommitUntracked gitcommitComment
|
||||
|
||||
hi link helpSpecial Special
|
||||
|
||||
hi link hsDelimTypeExport Delimiter
|
||||
hi link hsImportParams Delimiter
|
||||
hi link hsModuleStartLabel hsStructure
|
||||
hi link hsModuleWhereLabel hsModuleStartLabel
|
||||
hi link htmlLink Function
|
||||
|
||||
hi link lCursor Cursor
|
||||
|
||||
hi link pandocCodeBlock pandocVerbatimBlock
|
||||
hi link pandocCodeBlockDelim pandocVerbatimBlock
|
||||
hi link pandocEscapedCharacter pandocEscapePair
|
||||
hi link pandocLineBreak pandocEscapePair
|
||||
hi link pandocMetadataTitle pandocMetadata
|
||||
hi link pandocTableStructureEnd pandocTableStructre
|
||||
hi link pandocTableStructureTop pandocTableStructre
|
||||
hi link pandocVerbatimBlockDeep pandocVerbatimBlock
|
||||
|
||||
hi link vimFunc Function
|
||||
hi link vimSet Normal
|
||||
hi link vimSetEqual Normal
|
||||
hi link vimUserFunc Function
|
||||
hi link vipmVar Identifier
|
||||
|
||||
hi clear SyntasticErrorLine
|
||||
hi clear SyntasticWarningLine
|
||||
hi clear helpLeadBlank
|
||||
hi clear helpNormal
|
||||
hi clear pandocTableStructre
|
||||
|
||||
if has('nvim')
|
||||
let g:terminal_color_0 = '#073642'
|
||||
let g:terminal_color_1 = '#dc322f'
|
||||
let g:terminal_color_2 = '#859900'
|
||||
let g:terminal_color_3 = '#b58900'
|
||||
let g:terminal_color_4 = '#268bd2'
|
||||
let g:terminal_color_5 = '#d33682'
|
||||
let g:terminal_color_6 = '#2aa198'
|
||||
let g:terminal_color_7 = '#eee8d5'
|
||||
let g:terminal_color_8 = '#002b36'
|
||||
let g:terminal_color_9 = '#cb4b16'
|
||||
let g:terminal_color_10 = '#586e75'
|
||||
let g:terminal_color_11 = '#657b83'
|
||||
let g:terminal_color_12 = '#839496'
|
||||
let g:terminal_color_13 = '#6c71c4'
|
||||
let g:terminal_color_14 = '#93a1a1'
|
||||
let g:terminal_color_15 = '#fdf6e3'
|
||||
endif
|
|
@ -0,0 +1,314 @@
|
|||
" 'flattened_light.vim' -- Vim color scheme.
|
||||
" Maintainer: Romain Lafourcade (romainlafourcade@gmail.com)
|
||||
" Description: Light Solarized, without the bullshit.
|
||||
|
||||
hi clear
|
||||
|
||||
if exists('syntax_on')
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = 'flattened_light'
|
||||
|
||||
hi Normal cterm=NONE ctermfg=11 ctermbg=15 guifg=#657b83 guibg=#fdf6e3 gui=NONE
|
||||
|
||||
set background=light
|
||||
|
||||
hi ColorColumn cterm=NONE ctermbg=7 guibg=#eee8d5 gui=NONE
|
||||
hi Comment cterm=NONE ctermfg=14 guifg=#93a1a1 gui=italic
|
||||
hi ConId cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi Conceal cterm=NONE ctermfg=4 ctermbg=15 guifg=#268bd2 guibg=#fdf6e3 gui=NONE
|
||||
hi Constant cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi Cursor cterm=NONE ctermfg=15 ctermbg=11 guifg=#fdf6e3 guibg=#657b83 gui=NONE
|
||||
hi CursorColumn cterm=NONE ctermbg=7 guibg=#eee8d5 gui=NONE
|
||||
hi CursorLine cterm=NONE ctermbg=7 guibg=#eee8d5 guisp=#586e75 gui=NONE
|
||||
hi CursorLineNr cterm=NONE ctermfg=130 gui=NONE guifg=Brown
|
||||
hi DiffAdd cterm=NONE ctermfg=2 ctermbg=7 gui=NONE guifg=#719e07 guibg=#eee8d5 guisp=#719e07 gui=NONE
|
||||
hi DiffChange cterm=NONE ctermfg=3 ctermbg=7 gui=NONE guifg=#b58900 guibg=#eee8d5 guisp=#b58900 gui=NONE
|
||||
hi DiffDelete cterm=NONE ctermfg=1 ctermbg=7 gui=NONE guifg=#dc322f guibg=#eee8d5 gui=NONE
|
||||
hi DiffText cterm=NONE ctermfg=4 ctermbg=7 gui=NONE guifg=#268bd2 guibg=#eee8d5 guisp=#268bd2 gui=NONE
|
||||
hi Directory cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi Error cterm=NONE ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=#fdf6e3 gui=NONE
|
||||
hi ErrorMsg cterm=reverse ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=NONE gui=reverse
|
||||
hi FoldColumn cterm=NONE ctermfg=11 ctermbg=7 guifg=#657b83 guibg=#eee8d5 gui=NONE
|
||||
hi Folded cterm=NONE,underline ctermfg=11 ctermbg=7 guifg=#657b83 guibg=#eee8d5 guisp=#fdf6e3 gui=NONE
|
||||
hi HelpExample cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
|
||||
hi Identifier cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi IncSearch cterm=standout ctermfg=9 gui=standout guifg=#cb4b16
|
||||
hi LineNr cterm=NONE ctermfg=14 ctermbg=7 guifg=#93a1a1 guibg=#eee8d5 gui=NONE
|
||||
hi MatchParen cterm=NONE ctermfg=1 ctermbg=14 gui=NONE guifg=#dc322f guibg=#93a1a1 gui=NONE
|
||||
hi ModeMsg cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi MoreMsg cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi NonText cterm=NONE ctermfg=12 gui=NONE guifg=#839496 gui=NONE
|
||||
hi Pmenu cterm=reverse ctermfg=11 ctermbg=7 guifg=#657b83 guibg=#eee8d5 gui=reverse
|
||||
hi PmenuSbar cterm=reverse ctermfg=0 ctermbg=11 guifg=#073642 guibg=#657b83 gui=reverse
|
||||
hi PmenuSel cterm=reverse ctermfg=14 ctermbg=0 guifg=#93a1a1 guibg=#073642 gui=reverse
|
||||
hi PmenuThumb cterm=reverse ctermfg=11 ctermbg=15 guifg=#657b83 guibg=#fdf6e3 gui=reverse
|
||||
hi PreProc cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi Question cterm=NONE ctermfg=6 gui=NONE guifg=#2aa198 gui=NONE
|
||||
hi Search cterm=reverse ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE gui=reverse
|
||||
hi SignColumn cterm=NONE ctermfg=11 ctermbg=NONE guifg=#657b83 guibg=NONE gui=NONE
|
||||
hi Special cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
|
||||
hi SpecialKey cterm=NONE ctermfg=12 ctermbg=7 gui=NONE guifg=#839496 guibg=#eee8d5 gui=NONE
|
||||
hi SpellBad cterm=undercurl ctermfg=NONE ctermbg=NONE gui=undercurl guisp=#dc322f
|
||||
hi SpellCap cterm=undercurl ctermfg=NONE ctermbg=NONE gui=undercurl guisp=#6c71c4
|
||||
hi SpellLocal cterm=undercurl ctermfg=NONE ctermbg=NONE gui=undercurl guisp=#b58900
|
||||
hi SpellRare cterm=undercurl ctermfg=NONE ctermbg=NONE gui=undercurl guisp=#2aa198
|
||||
hi Statement cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi StatusLine cterm=reverse ctermfg=10 ctermbg=7 gui=reverse guifg=#586e75 guibg=#eee8d5 guibg=NONE
|
||||
hi StatusLineNC cterm=reverse ctermfg=12 ctermbg=7 gui=reverse guifg=#839496 guibg=#eee8d5 guibg=NONE
|
||||
hi TabLine cterm=underline ctermfg=11 ctermbg=7 gui=underline guifg=#657b83 guibg=#eee8d5 guisp=#657b83
|
||||
hi TabLineFill cterm=underline ctermfg=11 ctermbg=7 gui=underline guifg=#657b83 guibg=#eee8d5 guisp=#657b83
|
||||
hi TabLineSel cterm=underline,reverse ctermfg=14 ctermbg=0 gui=underline,reverse guifg=#93a1a1 guibg=#073642 guisp=#657b83
|
||||
hi Title cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi Todo cterm=bold ctermfg=5 ctermbg=15 guifg=#d33682 guibg=NONE gui=bold
|
||||
hi Type cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi Underlined cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi VarId cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi VertSplit cterm=NONE ctermfg=12 ctermbg=12 guifg=#839496 guibg=#839496 gui=NONE
|
||||
hi Visual cterm=reverse ctermfg=14 ctermbg=15 gui=reverse guifg=#93a1a1 guibg=#fdf6e3 guibg=NONE
|
||||
hi VisualNOS cterm=reverse ctermbg=7 gui=reverse guibg=#eee8d5 guibg=NONE
|
||||
hi WarningMsg cterm=NONE ctermfg=9 gui=NONE guifg=#dc322f gui=NONE
|
||||
hi WildMenu cterm=reverse ctermfg=0 ctermbg=7 guifg=#073642 guibg=#eee8d5 gui=reverse
|
||||
hi cPreCondit cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi gitcommitBranch cterm=NONE ctermfg=5 gui=NONE guifg=#d33682 gui=NONE
|
||||
hi gitcommitComment cterm=NONE ctermfg=14 gui=italic guifg=#93a1a1 gui=NONE
|
||||
hi gitcommitDiscardedFile cterm=NONE ctermfg=1 gui=NONE guifg=#dc322f gui=NONE
|
||||
hi gitcommitDiscardedType cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
|
||||
hi gitcommitFile cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
|
||||
hi gitcommitHeader cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi gitcommitOnBranch cterm=NONE ctermfg=14 gui=NONE guifg=#93a1a1 gui=NONE
|
||||
hi gitcommitSelectedFile cterm=NONE ctermfg=2 gui=NONE guifg=#719e07 gui=NONE
|
||||
hi gitcommitSelectedType cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi gitcommitUnmerged cterm=NONE ctermfg=2 gui=NONE guifg=#719e07 gui=NONE
|
||||
hi gitcommitUnmergedFile cterm=NONE ctermfg=3 gui=NONE guifg=#b58900 gui=NONE
|
||||
hi gitcommitUntrackedFile cterm=NONE ctermfg=6 gui=NONE guifg=#2aa198 gui=NONE
|
||||
hi helpHyperTextEntry cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi helpHyperTextJump cterm=underline ctermfg=4 gui=underline guifg=#268bd2
|
||||
hi helpNote cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi helpOption cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi helpVim cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi hsImport cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi hsImportLabel cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsModuleName cterm=underline ctermfg=2 gui=underline guifg=#719e07
|
||||
hi hsNiceOperator cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsStatement cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsString cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi hsStructure cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsType cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi hsTypedef cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hsVarSym cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi hs_DeclareFunction cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
|
||||
hi hs_OpFunctionName cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi hs_hlFunctionName cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi htmlArg cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi htmlEndTag cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi htmlSpecialTagName cterm=NONE ctermfg=4 gui=italic guifg=#268bd2 gui=NONE
|
||||
hi htmlTag cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi htmlTagN cterm=NONE ctermfg=10 gui=NONE guifg=#586e75 gui=NONE
|
||||
hi htmlTagName cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi javaScript cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi pandocBlockQuote cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocBlockQuoteLeader1 cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocBlockQuoteLeader2 cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
hi pandocBlockQuoteLeader3 cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi pandocBlockQuoteLeader4 cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
|
||||
hi pandocBlockQuoteLeader5 cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
|
||||
hi pandocBlockQuoteLeader6 cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi pandocCitation cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi pandocCitationDelim cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi pandocCitationID cterm=underline ctermfg=5 gui=underline guifg=#d33682
|
||||
hi pandocCitationRef cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi pandocComment cterm=NONE ctermfg=14 gui=italic guifg=#93a1a1 gui=NONE
|
||||
hi pandocDefinitionBlock cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocDefinitionIndctr cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
|
||||
hi pandocDefinitionTerm cterm=standout ctermfg=13 gui=standout guifg=#6c71c4
|
||||
hi pandocEmphasis cterm=NONE ctermfg=11 gui=italic guifg=#657b83 gui=NONE
|
||||
hi pandocEmphasisDefinition cterm=NONE ctermfg=13 gui=italic guifg=#6c71c4 gui=NONE
|
||||
hi pandocEmphasisHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocEmphasisNested cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
|
||||
hi pandocEmphasisNestedDefinition cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
|
||||
hi pandocEmphasisNestedHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocEmphasisNestedTable cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocEmphasisTable cterm=NONE ctermfg=4 gui=italic guifg=#268bd2 gui=NONE
|
||||
hi pandocEscapePair cterm=NONE ctermfg=1 gui=NONE guifg=#dc322f gui=NONE
|
||||
hi pandocFootnote cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
|
||||
hi pandocFootnoteDefLink cterm=NONE ctermfg=2 gui=NONE guifg=#719e07 gui=NONE
|
||||
hi pandocFootnoteInline cterm=NONE,underline ctermfg=2 gui=NONE,underline guifg=#719e07 gui=NONE
|
||||
hi pandocFootnoteLink cterm=underline ctermfg=2 gui=underline guifg=#719e07
|
||||
hi pandocHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocHeadingMarker cterm=NONE ctermfg=3 gui=NONE guifg=#b58900 gui=NONE
|
||||
hi pandocImageCaption cterm=NONE,underline ctermfg=13 gui=NONE,underline guifg=#6c71c4 gui=NONE
|
||||
hi pandocLinkDefinition cterm=underline ctermfg=6 gui=underline guifg=#2aa198 guisp=#839496
|
||||
hi pandocLinkDefinitionID cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocLinkDelim cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi pandocLinkLabel cterm=underline ctermfg=4 gui=underline guifg=#268bd2
|
||||
hi pandocLinkText cterm=NONE,underline ctermfg=4 gui=NONE,underline guifg=#268bd2 gui=NONE
|
||||
hi pandocLinkTitle cterm=underline ctermfg=12 gui=underline guifg=#839496
|
||||
hi pandocLinkTitleDelim cterm=underline ctermfg=14 gui=underline guifg=#93a1a1 guisp=#839496
|
||||
hi pandocLinkURL cterm=underline ctermfg=12 gui=underline guifg=#839496
|
||||
hi pandocListMarker cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
|
||||
hi pandocListReference cterm=underline ctermfg=5 gui=underline guifg=#d33682
|
||||
hi pandocMetadata cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocMetadataDelim cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi pandocMetadataKey cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocNonBreakingSpace cterm=reverse ctermfg=1 ctermbg=NONE gui=reverse guifg=#dc322f guibg=NONE
|
||||
hi pandocRule cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocRuleLine cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocStrikeout cterm=reverse ctermfg=14 ctermbg=NONE gui=reverse guifg=#93a1a1 guibg=NONE
|
||||
hi pandocStrikeoutDefinition cterm=reverse ctermfg=13 ctermbg=NONE gui=reverse guifg=#6c71c4 guibg=NONE
|
||||
hi pandocStrikeoutHeading cterm=reverse ctermfg=9 ctermbg=NONE gui=reverse guifg=#cb4b16 guibg=NONE
|
||||
hi pandocStrikeoutTable cterm=reverse ctermfg=4 ctermbg=NONE gui=reverse guifg=#268bd2 guibg=NONE
|
||||
hi pandocStrongEmphasis cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
|
||||
hi pandocStrongEmphasisDefinition cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
|
||||
hi pandocStrongEmphasisEmphasis cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
|
||||
hi pandocStrongEmphasisEmphasisDefinition cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
|
||||
hi pandocStrongEmphasisEmphasisHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocStrongEmphasisEmphasisTable cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocStrongEmphasisHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocStrongEmphasisNested cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
|
||||
hi pandocStrongEmphasisNestedDefinition cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
|
||||
hi pandocStrongEmphasisNestedHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocStrongEmphasisNestedTable cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocStrongEmphasisTable cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocStyleDelim cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
|
||||
hi pandocSubscript cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocSubscriptDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocSubscriptHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocSubscriptTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocSuperscript cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocSuperscriptDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocSuperscriptHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocSuperscriptTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTableStructure cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTableZebraDark cterm=NONE ctermfg=4 ctermbg=7 guifg=#268bd2 guibg=#eee8d5 gui=NONE
|
||||
hi pandocTableZebraLight cterm=NONE ctermfg=4 ctermbg=15 guifg=#268bd2 guibg=#fdf6e3 gui=NONE
|
||||
hi pandocTitleBlock cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi pandocTitleBlockTitle cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocTitleComment cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi pandocVerbatimBlock cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi pandocVerbatimInline cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi pandocVerbatimInlineDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi pandocVerbatimInlineHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
|
||||
hi pandocVerbatimInlineTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi perlHereDoc cterm=NONE ctermfg=10 ctermbg=15 guifg=#586e75 guibg=#fdf6e3 gui=NONE
|
||||
hi perlStatementFileDesc cterm=NONE ctermfg=6 ctermbg=15 guifg=#2aa198 guibg=#fdf6e3 gui=NONE
|
||||
hi perlVarPlain cterm=NONE ctermfg=3 ctermbg=15 guifg=#b58900 guibg=#fdf6e3 gui=NONE
|
||||
hi rubyDefine cterm=NONE ctermfg=10 ctermbg=15 gui=NONE guifg=#586e75 guibg=#fdf6e3 gui=NONE
|
||||
hi texMathMatcher cterm=NONE ctermfg=3 ctermbg=15 guifg=#b58900 guibg=#fdf6e3 gui=NONE
|
||||
hi texMathZoneX cterm=NONE ctermfg=3 ctermbg=15 guifg=#b58900 guibg=#fdf6e3 gui=NONE
|
||||
hi texRefLabel cterm=NONE ctermfg=3 ctermbg=15 guifg=#b58900 guibg=#fdf6e3 gui=NONE
|
||||
hi texStatement cterm=NONE ctermfg=6 ctermbg=15 guifg=#2aa198 guibg=#fdf6e3 gui=NONE
|
||||
hi vimCmdSep cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
|
||||
hi vimCommand cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi vimCommentString cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
|
||||
hi vimGroup cterm=NONE,underline ctermfg=4 gui=NONE,underline guifg=#268bd2 gui=NONE
|
||||
hi vimHiGroup cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi vimHiLink cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
|
||||
hi vimIsCommand cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
|
||||
hi vimSynMtchOpt cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
|
||||
hi vimSynType cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
|
||||
|
||||
hi link Boolean Constant
|
||||
hi link Character Constant
|
||||
hi link Conditional Statement
|
||||
hi link Debug Special
|
||||
hi link Define PreProc
|
||||
hi link Delimiter Special
|
||||
hi link Exception Statement
|
||||
hi link Float Number
|
||||
hi link Function Identifier
|
||||
hi link HelpCommand Statement
|
||||
hi link Include PreProc
|
||||
hi link Keyword Statement
|
||||
hi link Label Statement
|
||||
hi link Macro PreProc
|
||||
hi link Number Constant
|
||||
hi link Operator Statement
|
||||
hi link PreCondit PreProc
|
||||
hi link Repeat Statement
|
||||
hi link SpecialChar Special
|
||||
hi link SpecialComment Special
|
||||
hi link StorageClass Type
|
||||
hi link String Constant
|
||||
hi link Structure Type
|
||||
hi link SyntasticError SpellBad
|
||||
hi link SyntasticErrorSign Error
|
||||
hi link SyntasticStyleErrorLine SyntasticErrorLine
|
||||
hi link SyntasticStyleErrorSign SyntasticErrorSign
|
||||
hi link SyntasticStyleWarningLine SyntasticWarningLine
|
||||
hi link SyntasticStyleWarningSign SyntasticWarningSign
|
||||
hi link SyntasticWarning SpellCap
|
||||
hi link SyntasticWarningSign Todo
|
||||
hi link Tag Special
|
||||
hi link Typedef Type
|
||||
|
||||
hi link diffAdded Statement
|
||||
hi link diffBDiffer WarningMsg
|
||||
hi link diffCommon WarningMsg
|
||||
hi link diffDiffer WarningMsg
|
||||
hi link diffIdentical WarningMsg
|
||||
hi link diffIsA WarningMsg
|
||||
hi link diffLine Identifier
|
||||
hi link diffNoEOL WarningMsg
|
||||
hi link diffOnly WarningMsg
|
||||
hi link diffRemoved WarningMsg
|
||||
|
||||
hi link gitcommitDiscarded gitcommitComment
|
||||
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
|
||||
hi link gitcommitNoBranch gitcommitBranch
|
||||
hi link gitcommitSelected gitcommitComment
|
||||
hi link gitcommitSelectedArrow gitcommitSelectedFile
|
||||
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
|
||||
hi link gitcommitUntracked gitcommitComment
|
||||
|
||||
hi link helpSpecial Special
|
||||
|
||||
hi link hsDelimTypeExport Delimiter
|
||||
hi link hsImportParams Delimiter
|
||||
hi link hsModuleStartLabel hsStructure
|
||||
hi link hsModuleWhereLabel hsModuleStartLabel
|
||||
hi link htmlLink Function
|
||||
|
||||
hi link lCursor Cursor
|
||||
|
||||
hi link pandocCodeBlock pandocVerbatimBlock
|
||||
hi link pandocCodeBlockDelim pandocVerbatimBlock
|
||||
hi link pandocEscapedCharacter pandocEscapePair
|
||||
hi link pandocLineBreak pandocEscapePair
|
||||
hi link pandocMetadataTitle pandocMetadata
|
||||
hi link pandocTableStructureEnd pandocTableStructre
|
||||
hi link pandocTableStructureTop pandocTableStructre
|
||||
hi link pandocVerbatimBlockDeep pandocVerbatimBlock
|
||||
|
||||
hi link vimFunc Function
|
||||
hi link vimSet Normal
|
||||
hi link vimSetEqual Normal
|
||||
hi link vimUserFunc Function
|
||||
hi link vipmVar Identifier
|
||||
|
||||
hi clear SyntasticErrorLine
|
||||
hi clear SyntasticWarningLine
|
||||
hi clear helpLeadBlank
|
||||
hi clear helpNormal
|
||||
hi clear pandocTableStructre
|
||||
|
||||
if has('nvim')
|
||||
let g:terminal_color_0 = '#eee8d5'
|
||||
let g:terminal_color_1 = '#dc322f'
|
||||
let g:terminal_color_2 = '#859900'
|
||||
let g:terminal_color_3 = '#b58900'
|
||||
let g:terminal_color_4 = '#268bd2'
|
||||
let g:terminal_color_5 = '#d33682'
|
||||
let g:terminal_color_6 = '#2aa198'
|
||||
let g:terminal_color_7 = '#073642'
|
||||
let g:terminal_color_8 = '#fdf6e3'
|
||||
let g:terminal_color_9 = '#cb4b16'
|
||||
let g:terminal_color_10 = '#93a1a1'
|
||||
let g:terminal_color_11 = '#839496'
|
||||
let g:terminal_color_12 = '#657b83'
|
||||
let g:terminal_color_13 = '#6c71c4'
|
||||
let g:terminal_color_14 = '#586e75'
|
||||
let g:terminal_color_15 = '#002b36'
|
||||
endif
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,2 @@
|
|||
plugged/
|
||||
plugin/
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
exec docker run \
|
||||
--rm \
|
||||
-it \
|
||||
--name neovim-config \
|
||||
-v "$PWD":/root/.config/nvim \
|
||||
archlinux:latest
|
|
@ -0,0 +1,4 @@
|
|||
require("utils")
|
||||
require("settings")
|
||||
require("keys")
|
||||
require("plugins")
|
|
@ -0,0 +1,74 @@
|
|||
local cmp = require("cmp")
|
||||
|
||||
cmp.setup({
|
||||
snippet = {
|
||||
-- REQUIRED - you must specify a snippet engine
|
||||
expand = function(args)
|
||||
-- vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users.
|
||||
require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
|
||||
-- require('snippy').expand_snippet(args.body) -- For `snippy` users.
|
||||
-- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users.
|
||||
end,
|
||||
},
|
||||
window = {
|
||||
-- completion = cmp.config.window.bordered(),
|
||||
-- documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
['<C-e>'] = cmp.mapping.abort(),
|
||||
['<CR>'] = cmp.mapping.confirm({ select = false }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
||||
['<Tab>'] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_next_item()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end),
|
||||
['<S-Tab>'] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_prev_item()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end)
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'nvim_lsp' },
|
||||
-- { name = 'vsnip' }, -- For vsnip users.
|
||||
{ name = 'luasnip' }, -- For luasnip users.
|
||||
-- { name = 'ultisnips' }, -- For ultisnips users.
|
||||
-- { name = 'snippy' }, -- For snippy users.
|
||||
}, {
|
||||
{ name = 'buffer' },
|
||||
})
|
||||
})
|
||||
|
||||
-- Set configuration for specific filetype.
|
||||
cmp.setup.filetype('gitcommit', {
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'git' }, -- You can specify the `git` source if [you were installed it](https://github.com/petertriho/cmp-git).
|
||||
}, {
|
||||
{ name = 'buffer' },
|
||||
})
|
||||
})
|
||||
|
||||
-- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
|
||||
cmp.setup.cmdline({ '/', '?' }, {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = {
|
||||
{ name = 'buffer' }
|
||||
}
|
||||
})
|
||||
|
||||
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
|
||||
cmp.setup.cmdline(':', {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'path' }
|
||||
}, {
|
||||
{ name = 'cmdline' }
|
||||
})
|
||||
})
|
|
@ -0,0 +1,28 @@
|
|||
local g = vim.g
|
||||
|
||||
g.coq_settings = {
|
||||
auto_start = "shut-up",
|
||||
keymap = { recommended = false }
|
||||
}
|
||||
|
||||
vim.api.nvim_set_keymap("i", "<Tab>", 'pumvisible() ? "\\<C-n>" : "\\<Tab>"', {
|
||||
expr = true
|
||||
})
|
||||
|
||||
vim.api.nvim_set_keymap("i", "<S-Tab>", 'pumvisible() ? "\\<C-p>" : "\\<S-Tab>"', {
|
||||
expr = true
|
||||
})
|
||||
|
||||
--Set completeopt to have a better completion experience
|
||||
vim.o.completeopt = "menuone,noinsert,noselect"
|
||||
|
||||
--Avoid showing message extra message when using completion
|
||||
vim.o.shortmess = vim.o.shortmess .. "c"
|
||||
|
||||
vim.g.completion_chain_complete_list = {
|
||||
default = {
|
||||
{ complete_items = { 'lsp', "buffer", "buffers" } },
|
||||
{ mode = { '<c-p>' } },
|
||||
{ mode = { '<c-n>' } }
|
||||
},
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
local g = vim.g
|
||||
|
||||
g.ctrlp_map = "<leader>t"
|
||||
-- g.ctrlp_use_caching = 1
|
||||
-- g.ctrlp_clear_cache_on_exit = 0
|
||||
-- g.ctrlp_cache_dir = "./.vim/cache/ctrlp"
|
||||
g.ctrlp_user_command = {
|
||||
'.git', 'git --git-dir=%s/.git ls-files -oc --exclude-standard'
|
||||
}
|
||||
|
||||
--Limit max number of files
|
||||
--This prevents me from indexing my entire HOME by accident
|
||||
g.ctrlp_max_files = 1000
|
||||
--Also limit recursion depth
|
||||
g.ctrlp_max_depth = 10
|
|
@ -0,0 +1,7 @@
|
|||
-- tpope/vim-fugitive
|
||||
nmap("<leader>gg", ":Git<CR>")
|
||||
nmap("<leader>gc", ":Git commit<CR>")
|
||||
nmap("<leader>gp", ":Git push<CR>")
|
||||
nmap("<leader>gd", ":Gdiffsplit!<CR>")
|
||||
nmap("<leader>gm", ":Git mergetool<CR>")
|
||||
nmap("<leader>gb", ":Git blame<CR>")
|
|
@ -0,0 +1,3 @@
|
|||
local g = vim.g
|
||||
|
||||
g.gitgutter_map_keys = 0
|
|
@ -0,0 +1,75 @@
|
|||
-- neovim/neovim-lspconfig
|
||||
local function on_attach(client, bufnr)
|
||||
local opts = {
|
||||
silent = true,
|
||||
noremap = true,
|
||||
}
|
||||
local function buf_nmap(mapping, cmd) vim.api.nvim_buf_set_keymap(bufnr, "n", mapping, cmd, opts) end
|
||||
|
||||
-- Jump to definition
|
||||
buf_nmap("gd", "<Cmd>lua vim.lsp.buf.definition()<CR>")
|
||||
-- Format current buffer on write
|
||||
vim.api.nvim_command([[autocmd BufWritePre <buffer> lua vim.lsp.buf.format()]])
|
||||
-- Show diagnostics for current line
|
||||
buf_nmap("<leader>dd", "<Cmd>lua vim.diagnostic.open_float()<CR>")
|
||||
-- Jump between diagnostic messages
|
||||
buf_nmap("<leader>dj", "<Cmd>lua vim.diagnostic.goto_next()<CR>")
|
||||
buf_nmap("<leader>dk", "<Cmd>lua vim.diagnostic.goto_prev()<CR>")
|
||||
-- Rename symbol under cursor
|
||||
buf_nmap("<leader>dr", "<Cmd>lua vim.lsp.buf.rename()<CR>")
|
||||
-- Show hover info
|
||||
buf_nmap("<leader>df", "<Cmd>lua vim.lsp.buf.hover()<CR>")
|
||||
buf_nmap("<leader>du", "<Cmd>lua vim.lsp.buf.references()<CR>")
|
||||
buf_nmap("<leader>da", "<Cmd>lua vim.lsp.buf.code_action()<CR>")
|
||||
end
|
||||
|
||||
-- For cmp autocomplete
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
|
||||
-- Comes with clang
|
||||
require'lspconfig'.clangd.setup{on_attach = on_attach, capabilities = capabilities}
|
||||
-- NPM: dockerfile-language-server-nodejs
|
||||
require'lspconfig'.dockerls.setup{capabilities = capabilities}
|
||||
-- Pacman: haskell-language-server
|
||||
-- AUR: haskell-language-server-bin
|
||||
-- GH: https://github.com/haskell/haskell-language-server
|
||||
require'lspconfig'.hls.setup{
|
||||
on_attach = on_attach,
|
||||
settings = {
|
||||
haskell = {
|
||||
formattingProvider = "stylish-haskell"
|
||||
}
|
||||
},
|
||||
capabilities = capabilities
|
||||
}
|
||||
-- Pacman: vieter-vls (requires my Vieter repository)
|
||||
-- GH: https://github.com/vlang/vls
|
||||
-- require'lspconfig'.vls.setup{
|
||||
-- cmd = {'vls'},
|
||||
-- filetypes = {'v'},
|
||||
-- on_attach = on_attach
|
||||
-- }
|
||||
-- Pacman: rust-analyzer
|
||||
-- GH: https://github.com/rust-analyzer/rust-analyzer
|
||||
require'lspconfig'.rust_analyzer.setup{on_attach = on_attach, capabilities = capabilities}
|
||||
-- Installed using R shell:
|
||||
-- `install.packages('languageserver')`
|
||||
-- GH: https://github.com/REditorSupport/languageserver
|
||||
require'lspconfig'.r_language_server.setup{capabilities = capabilities}
|
||||
-- Installed using Go CLI:
|
||||
-- go install github.com/nametake/golangci-lint-langserver@latest
|
||||
-- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
require'lspconfig'.gopls.setup{on_attach = on_attach, capabilities = capabilities}
|
||||
|
||||
require'lspconfig'.texlab.setup{on_attach = on_attach, capabilities = capabilities}
|
||||
|
||||
-- Fix that stops rust-analyzer interrupting typing when a request is cancelled
|
||||
for _, method in ipairs({ 'textDocument/diagnostic', 'workspace/diagnostic' }) do
|
||||
local default_diagnostic_handler = vim.lsp.handlers[method]
|
||||
vim.lsp.handlers[method] = function(err, result, context, config)
|
||||
if err ~= nil and err.code == -32802 then
|
||||
return
|
||||
end
|
||||
return default_diagnostic_handler(err, result, context, config)
|
||||
end
|
||||
end
|
|
@ -0,0 +1,30 @@
|
|||
local g = vim.g
|
||||
|
||||
g.NERDTreeIgnore = {
|
||||
'^\\.vim$[[dir]]',
|
||||
'^\\.vscode$[[dir]]', '.*\\.code-workspace$[[file]]', '^\\.idea$[[dir]]',
|
||||
'^__pycache__$[[dir]]', '^\\.pytest_cache$[[dir]]', '^venv$[[dir]]',
|
||||
'\\.egg-info$[[dir]]', '^dist$[[dir]]',
|
||||
'^\\.eggs$[[dir]]',
|
||||
'^out$[[dir]]',
|
||||
'^\\.git$[[dir]]',
|
||||
'^\\.stack-work$[[dir]]', '\\.lock$',
|
||||
'^CMakeFiles$[[dir]]', '^CMakeCache.txt$[[file]]',
|
||||
'.pdf$[[file]]',
|
||||
'^node_modules$[[dir]]',
|
||||
'\\.o$'
|
||||
}
|
||||
|
||||
g.NERDTreeShowHidden = 1
|
||||
g.NERDTreeMinimalUI = 1
|
||||
g.NERDTreeDirArrows = 1
|
||||
g.NERDTreeQuitOnOpen = 1
|
||||
g.NERDTreeChDirMode = 0
|
||||
g.NERDTreeNaturalSort = 1
|
||||
g.NERDTreeShowFiles = 1
|
||||
g.NERDTreeShowLineNumbers = 0
|
||||
g.NERDTreeWinPos = 'left'
|
||||
g.NERDTreeMinimalMenu = 1
|
||||
g.NERDTreeAutoDeleteBuffer = 1
|
||||
|
||||
nmap("tt", ":NERDTreeFind<CR>")
|
|
@ -0,0 +1,12 @@
|
|||
local g = vim.g
|
||||
|
||||
g.tagbar_map_nexttag = "J"
|
||||
g.tagbar_map_prevtag = "K"
|
||||
g.tagbar_map_showproto = "u"
|
||||
g.tagbar_sort = 0
|
||||
g.tagbar_compact = 1
|
||||
g.tagbar_autoshowtag = 1
|
||||
g.no_status_line = 1
|
||||
g.tagbar_autoclose = 1
|
||||
|
||||
nmap("tr", ":TagbarToggle<CR>")
|
|
@ -0,0 +1,25 @@
|
|||
vim.o.hidden = true
|
||||
|
||||
require("toggleterm").setup {
|
||||
-- open_mapping = "<leader>r",
|
||||
direction = "float",
|
||||
insert_mappings = false,
|
||||
start_in_insert = false
|
||||
}
|
||||
|
||||
local Terminal = require('toggleterm.terminal').Terminal
|
||||
local always_visible = Terminal:new{
|
||||
direction = "horizontal",
|
||||
count = 6
|
||||
}
|
||||
|
||||
function _always_visible_toggle()
|
||||
always_visible:toggle()
|
||||
end
|
||||
|
||||
nmap("<leader>rr", ":1ToggleTerm<CR>")
|
||||
nmap("<leader>ry", ":2ToggleTerm<CR>")
|
||||
nmap("<leader>ru", ":3ToggleTerm<CR>")
|
||||
nmap("<leader>ri", ":4ToggleTerm<CR>")
|
||||
nmap("<leader>ro", ":5ToggleTerm<CR>")
|
||||
nmap("<leader>rp", "<cmd>lua _always_visible_toggle()<CR>")
|
|
@ -0,0 +1,5 @@
|
|||
require"nvim-treesitter.configs".setup {
|
||||
highlight = { enable = true }
|
||||
}
|
||||
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
|
||||
parser_config.v = {}
|
|
@ -0,0 +1,60 @@
|
|||
imap("jk", "<Esc>")
|
||||
|
||||
vim.api.nvim_exec("inoremap <Esc> <nop>", false)
|
||||
|
||||
-- Navigate splits
|
||||
nmap("<leader>h", ":wincmd h<CR>")
|
||||
nmap("<leader>j", ":wincmd j<CR>")
|
||||
nmap("<leader>k", ":wincmd k<CR>")
|
||||
nmap("<leader>l", ":wincmd l<CR>")
|
||||
|
||||
-- Just some laziness
|
||||
nmap("<leader>w", ":w<CR>")
|
||||
nmap("<leader>q", ":q<CR>")
|
||||
|
||||
-- As I don't use arrow keys for navigation, I use them for resizing
|
||||
nmap("<Up>", ":resize +5<CR>")
|
||||
nmap("<Down>", ":resize -5<CR>")
|
||||
nmap("<Right>", ":vertical resize +5<CR>")
|
||||
nmap("<Left>", ":vertical resize -5<CR>")
|
||||
nmap("<S-Up>", ":resize +1<CR>")
|
||||
nmap("<S-Down>", ":resize -1<CR>")
|
||||
nmap("<S-Right>", ":vertical resize +1<CR>")
|
||||
nmap("<S-Left>", ":vertical resize -1<CR>")
|
||||
|
||||
-- Disable arrow keys in editing & visual mode, as I have no need for them
|
||||
imap("<Up>", "<nop>")
|
||||
imap("<Down>", "<nop>")
|
||||
imap("<Left>", "<nop>")
|
||||
imap("<Right>", "<nop>")
|
||||
vmap("<Up>", "<nop>")
|
||||
vmap("<Down>", "<nop>")
|
||||
vmap("<Left>", "<nop>")
|
||||
vmap("<Right>", "<nop>")
|
||||
|
||||
-- These bindings I use for managing tabs
|
||||
nmap("<leader>ee", ":$tabnew<CR>")
|
||||
nmap("<leader>eL", ":tabnew<CR>")
|
||||
nmap("<leader>eH", ":-tabnew<CR>")
|
||||
nmap("<leader>ed", ":tabclose<CR>")
|
||||
nmap("<leader>el", ":tabnext<CR>")
|
||||
nmap("<leader>eh", ":tabprevious<CR>")
|
||||
nmap("<leader>er", ":tabnew<CR>:e term://$SHELL<CR>i")
|
||||
|
||||
-- TODO add config editing keybinds
|
||||
|
||||
nmap("<leader>a", "<C-^>")
|
||||
tmap("jk", "<C-\\><C-n>")
|
||||
|
||||
-- nmap("<leader>rr", ":e term://$SHELL<CR>")
|
||||
-- nmap("<leader>rh", ":vsp<CR>:wincmd h<CR>:e term://$SHELL<CR>")
|
||||
-- nmap("<leader>rl", ":vsp<CR>:e term://$SHELL<CR>")
|
||||
-- nmap("<leader>rk", ":sp<CR>:wincmd k<CR>:e term://$SHELL<CR>")
|
||||
-- nmap("<leader>rj", ":sp<CR>:e term://$SHELL<CR>")
|
||||
|
||||
nmap("<leader>fh", ":vsp<CR>:wincmd h<CR>")
|
||||
nmap("<leader>fj", ":sp<CR>")
|
||||
nmap("<leader>fk", ":sp<CR>:wincmd k<CR>")
|
||||
nmap("<leader>fl", ":vsp<CR>")
|
||||
|
||||
vim.api.nvim_set_keymap("n", "gb", "<C-o>", {})
|
|
@ -0,0 +1,212 @@
|
|||
local function bootstrap_pckr()
|
||||
local pckr_path = vim.fn.stdpath("data") .. "/pckr/pckr.nvim"
|
||||
|
||||
if not vim.uv.fs_stat(pckr_path) then
|
||||
vim.fn.system({
|
||||
'git',
|
||||
'clone',
|
||||
"--filter=blob:none",
|
||||
'https://github.com/lewis6991/pckr.nvim',
|
||||
pckr_path
|
||||
})
|
||||
end
|
||||
|
||||
vim.opt.rtp:prepend(pckr_path)
|
||||
end
|
||||
|
||||
bootstrap_pckr()
|
||||
|
||||
require('pckr').add{
|
||||
{
|
||||
"tpope/vim-fugitive",
|
||||
config = function()
|
||||
require('config.fugitive')
|
||||
end
|
||||
},
|
||||
{
|
||||
"ctrlpvim/ctrlp.vim",
|
||||
config_pre = function()
|
||||
require('config.ctrlp')
|
||||
end
|
||||
},
|
||||
"tpope/vim-commentary",
|
||||
{
|
||||
"preservim/nerdtree",
|
||||
config = function()
|
||||
require('config.nerdtree')
|
||||
end
|
||||
},
|
||||
"jiangmiao/auto-pairs",
|
||||
"editorconfig/editorconfig-vim",
|
||||
{
|
||||
"marko-cerovac/material.nvim",
|
||||
config = function()
|
||||
vim.cmd("colorscheme material")
|
||||
-- color material
|
||||
nmap("<leader>c", [[<Cmd>lua require('material.functions').toggle_style()<CR>]])
|
||||
end
|
||||
},
|
||||
{
|
||||
'hrsh7th/nvim-cmp',
|
||||
config = function()
|
||||
require('config.cmp')
|
||||
end
|
||||
},
|
||||
{
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
requires = 'hrsh7th/nvim-cmp'
|
||||
},
|
||||
{
|
||||
'hrsh7th/cmp-buffer',
|
||||
requires = 'hrsh7th/nvim-cmp'
|
||||
},
|
||||
{
|
||||
'hrsh7th/cmp-path',
|
||||
requires = 'hrsh7th/nvim-cmp'
|
||||
},
|
||||
{
|
||||
'hrsh7th/cmp-cmdline',
|
||||
requires = 'hrsh7th/nvim-cmp'
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
requires = 'hrsh7th/cmp-nvim-lsp',
|
||||
config = function()
|
||||
require('config.lspconfig')
|
||||
end
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
run = ":TSUpdate",
|
||||
config = function()
|
||||
require("config.treesitter")
|
||||
end
|
||||
},
|
||||
|
||||
-- Toggleable terminals
|
||||
{
|
||||
"akinsho/toggleterm.nvim",
|
||||
config = function()
|
||||
require('config.toggleterm')
|
||||
end
|
||||
},
|
||||
-- {
|
||||
-- "ms-jpq/coq_nvim",
|
||||
-- config = "config.coq"
|
||||
-- },
|
||||
"L3MON4D3/LuaSnip",
|
||||
"saadparwaiz1/cmp_luasnip",
|
||||
"godlygeek/tabular"
|
||||
}
|
||||
|
||||
-- require('pckr').add({
|
||||
-- use "wbthomason/packer.nvim"
|
||||
-- -- Improves boot times
|
||||
-- -- use {"lewis6991/impatient.nvim", rocks = 'mpack'}
|
||||
--
|
||||
-- -- Fuzzy search engine
|
||||
-- use {
|
||||
-- "ctrlpvim/ctrlp.vim",
|
||||
-- setup = [[require('config.ctrlp')]]
|
||||
-- }
|
||||
--
|
||||
-- -- Git client
|
||||
-- use {
|
||||
-- "tpope/vim-fugitive",
|
||||
-- config = [[require('config.fugitive')]]
|
||||
-- }
|
||||
--
|
||||
-- -- Shortcuts for commenting out code
|
||||
-- use "tpope/vim-commentary"
|
||||
--
|
||||
-- -- Shortcuts for surrounding pieces of text
|
||||
-- use "tpope/vim-surround"
|
||||
--
|
||||
-- -- Shows ctags in a sidebar
|
||||
-- use {
|
||||
-- "majutsushi/tagbar",
|
||||
-- config = [[require('config.tagbar')]]
|
||||
-- }
|
||||
--
|
||||
-- -- Shows git diff markers
|
||||
-- use {
|
||||
-- "airblade/vim-gitgutter",
|
||||
-- config = [[require('config.gitgutter')]]
|
||||
-- }
|
||||
--
|
||||
-- use "hynek/vim-python-pep8-indent"
|
||||
-- use "michaeljsmith/vim-indent-object"
|
||||
--
|
||||
-- -- File explorer
|
||||
-- use {
|
||||
-- "preservim/nerdtree",
|
||||
-- config = [[require('config.nerdtree')]]
|
||||
-- }
|
||||
--
|
||||
-- use "jiangmiao/auto-pairs"
|
||||
--
|
||||
-- -- Align text
|
||||
-- use "godlygeek/tabular"
|
||||
--
|
||||
-- -- Automatically load a .editorconfig file if found
|
||||
-- use "editorconfig/editorconfig-vim"
|
||||
--
|
||||
-- -- Pre-configured LSP stuff
|
||||
-- use {
|
||||
-- "neovim/nvim-lspconfig",
|
||||
-- config = [[require('config.lspconfig')]]
|
||||
-- }
|
||||
--
|
||||
-- -- Beautiful treesitter-compatible theme
|
||||
-- use {
|
||||
-- "marko-cerovac/material.nvim",
|
||||
-- config = function()
|
||||
-- vim.cmd("colorscheme material")
|
||||
-- -- color material
|
||||
-- nmap("<leader>c", [[<Cmd>lua require('material.functions').toggle_style()<CR>]])
|
||||
-- end
|
||||
-- }
|
||||
--
|
||||
-- use 'hrsh7th/cmp-nvim-lsp'
|
||||
-- use 'hrsh7th/cmp-buffer'
|
||||
-- use 'hrsh7th/cmp-path'
|
||||
-- use 'hrsh7th/cmp-cmdline'
|
||||
-- use {
|
||||
-- 'hrsh7th/nvim-cmp',
|
||||
-- config = [[require('config.cmp')]]
|
||||
-- }
|
||||
--
|
||||
-- use 'L3MON4D3/LuaSnip'
|
||||
-- use 'saadparwaiz1/cmp_luasnip'
|
||||
--
|
||||
--
|
||||
-- -- Autocomplete engine
|
||||
-- -- use {
|
||||
-- -- "ms-jpq/coq_nvim",
|
||||
-- -- branch = "coq",
|
||||
-- -- config = [[require('config.coq')]]
|
||||
-- -- }
|
||||
--
|
||||
-- -- Better syntax highlighting
|
||||
-- use {
|
||||
-- "nvim-treesitter/nvim-treesitter",
|
||||
-- run = ":TSUpdate",
|
||||
-- config = [[require('config.treesitter')]]
|
||||
-- }
|
||||
--
|
||||
-- -- Toggleable terminals
|
||||
-- use {
|
||||
-- "akinsho/toggleterm.nvim",
|
||||
-- config = [[require('config.toggleterm')]]
|
||||
-- }
|
||||
--
|
||||
-- -- LaTeX editing
|
||||
-- use "lervag/vimtex"
|
||||
--
|
||||
-- -- Coq stuff for uni
|
||||
-- use "whonore/Coqtail"
|
||||
--
|
||||
-- if packer_bootstrap then
|
||||
-- require('packer').sync()
|
||||
-- end
|
||||
-- end)
|
|
@ -0,0 +1,59 @@
|
|||
local o = vim.o
|
||||
local g = vim.g
|
||||
|
||||
g.mapleader = " "
|
||||
g.maplocalleader = "\\<tab>"
|
||||
|
||||
-- I often use non-standard shells that don't play nicely wiht certain features
|
||||
-- o.shell = "/bin/bash"
|
||||
|
||||
-- Centers your cursor whenever possible
|
||||
-- 999 is just a really large number (I think it's amount of lines or something)
|
||||
o.scrolloff = 999
|
||||
|
||||
-- Forces Neovim to assume a 256-color terminal; required for certain colorschemes
|
||||
o.termguicolors = true
|
||||
|
||||
-- Set the colorscheme
|
||||
-- g.colors_name = "flattened_dark"
|
||||
|
||||
-- This combo shows the absolute line number on the current line & the relative one on all the others
|
||||
o.number = true
|
||||
o.relativenumber = true
|
||||
|
||||
-- Opens new files to the bottom, right resp. of the current buffer
|
||||
o.splitbelow = true
|
||||
o.splitright = true
|
||||
|
||||
-- Converts tabs to 4 spaces
|
||||
o.expandtab = true
|
||||
o.tabstop = 4
|
||||
o.shiftwidth = 4
|
||||
|
||||
-- Show search matches as I'm typing
|
||||
o.incsearch = true
|
||||
-- Makes search case-sensitive only when using caps
|
||||
o.smartcase = true
|
||||
-- Don't highlight search results after search is finished
|
||||
o.hlsearch = false
|
||||
|
||||
local swap_dir = vim.fn.stdpath('data') .. '/swap'
|
||||
local undo_dir = vim.fn.stdpath('data') .. '/undo'
|
||||
|
||||
-- Create swap files
|
||||
o.swapfile = true
|
||||
-- Where to store the swap files; I store mine in the current directory
|
||||
o.directory = swap_dir
|
||||
|
||||
o.backup = false
|
||||
|
||||
o.undofile = true
|
||||
o.undodir = undo_dir
|
||||
|
||||
o.updatetime = 250
|
||||
|
||||
o.shelltemp = false
|
||||
|
||||
-- o.completeopt = "menuone,noselect"
|
||||
vim.cmd([[autocmd BufRead,BufNewFile *.v,*.vsh setlocal filetype=v]])
|
||||
-- vim.cmd([[autocmd BufWritePre *.go,*.rs lua vim.lsp.buf.format()]])
|
|
@ -0,0 +1,11 @@
|
|||
function map(mode, keys, command)
|
||||
vim.api.nvim_set_keymap(mode, keys, command, {
|
||||
silent = true,
|
||||
noremap = true
|
||||
})
|
||||
end
|
||||
|
||||
nmap = function(keys, command) map("n", keys, command) end
|
||||
imap = function(keys, command) map("i", keys, command) end
|
||||
vmap = function(keys, command) map("v", keys, command) end
|
||||
tmap = function(keys, command) map("t", keys, command) end
|
Loading…
Reference in New Issue