Added cenny dotfiles
This commit is contained in:
parent
20ab00736c
commit
885ecb33d0
57 changed files with 7714 additions and 0 deletions
11
.config/nvim/.gitignore
vendored
Normal file
11
.config/nvim/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# File manager history
|
||||
.netrwhist
|
||||
|
||||
# Directory where my swap/undo files are stored
|
||||
.vim/
|
||||
|
||||
# Where plugins are installed; can be done locally
|
||||
plugged/
|
||||
|
||||
# Old file after updating plug.vim
|
||||
plug.vim.old
|
||||
8
.config/nvim/LICENSE
Normal file
8
.config/nvim/LICENSE
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
MIT License
|
||||
Copyright (c) 2021 Jef Roosens
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
40
.config/nvim/README.md
Normal file
40
.config/nvim/README.md
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# neovim-config
|
||||
|
||||
This repo contains the full Neovim config that I use on a daily basis for
|
||||
college and personal projects. This file explains the basic structure of my
|
||||
config, while setting-specific information can be found inside the config files
|
||||
themselves.
|
||||
|
||||
## Config structure
|
||||
The config exists of a few key components:
|
||||
|
||||
* `coc-settings.json`: config for the
|
||||
[CoC](https://github.com/neoclide/coc.nvim) plugin.
|
||||
* `init.vim`: this is the actual config file that gets loaded. It sources
|
||||
everything else.
|
||||
* `autoload/`: a special directory allowing the files inside to be used in the
|
||||
`:call` command. Its only use is allowing usage of
|
||||
[vim-plug](https://github.com/junegunn/vim-plug), my plugin manager.
|
||||
* `colors/`: contains my themes.
|
||||
* `ftplugin/`: this is where you can put filetype plugins. These are vim
|
||||
scripts that are sourced whenever you open a buffer with the given filetype,
|
||||
e.g. if you open a file with filetype `markdown`, it will source the file
|
||||
`ftplugin/markdown.vim`, if it exists. This allows for custom configs for
|
||||
certain filetypes.
|
||||
* `init/`: contains the various config files sourced by `init.vim`. I could
|
||||
just cram it all into a single file, but I find this difficult to maintain.
|
||||
|
||||
## Choice of leader
|
||||
In my opinion, an important part of any (Neo)vim config is choosing which
|
||||
leader key to use. The default `\` leader wasn't going to cut it for me for
|
||||
three main reasons:
|
||||
|
||||
* Backslash required me to stretch my hand every time
|
||||
* In Belgium (where I live), we use AZERTY instead of QWERTY, and the backslash
|
||||
key is often not present on those keyboards or requires a key combination to
|
||||
type
|
||||
* I use both AZERTY and QWERTY and wanted a key that was the same on both
|
||||
|
||||
Therefore, I chose Space as my main leader key and Tab as my local leader (even
|
||||
though I've never actually used it). This allows me to use the same muscle
|
||||
memory on my refurbished MacBook (AZERTY) and my Ducky (QWERTY).
|
||||
2788
.config/nvim/autoload/plug.vim
Normal file
2788
.config/nvim/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load diff
10
.config/nvim/coc-settings.json
Normal file
10
.config/nvim/coc-settings.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"languageserver": {
|
||||
"haskell": {
|
||||
"command": "haskell-language-server-wrapper",
|
||||
"args": ["--lsp"],
|
||||
"rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"],
|
||||
"filetypes": ["haskell", "lhaskell"]
|
||||
}
|
||||
}
|
||||
}
|
||||
31
.config/nvim/coc-settings.json.back
Normal file
31
.config/nvim/coc-settings.json.back
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"languageserver": {
|
||||
"ccls": {
|
||||
"command": "ccls",
|
||||
"filetypes": [
|
||||
"c",
|
||||
"cpp",
|
||||
"objc",
|
||||
"objcpp"
|
||||
],
|
||||
"rootPatterns": [
|
||||
".ccls",
|
||||
"compile_commands.json",
|
||||
".vim/",
|
||||
".git/",
|
||||
".hg/"
|
||||
],
|
||||
"initializationOptions": {
|
||||
"cache": {
|
||||
"directory": "/tmp/ccls"
|
||||
}
|
||||
}
|
||||
},
|
||||
"haskell": {
|
||||
"command": "haskell-language-server-wrapper",
|
||||
"args": ["--lsp"],
|
||||
"rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"],
|
||||
"filetypes": ["haskell", "lhaskell"]
|
||||
}
|
||||
}
|
||||
}
|
||||
325
.config/nvim/colors/flattened_dark.vim
Normal file
325
.config/nvim/colors/flattened_dark.vim
Normal file
|
|
@ -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
|
||||
314
.config/nvim/colors/flattened_light.vim
Normal file
314
.config/nvim/colors/flattened_light.vim
Normal file
|
|
@ -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
|
||||
1836
.config/nvim/colors/tokyonight.vim
Normal file
1836
.config/nvim/colors/tokyonight.vim
Normal file
File diff suppressed because it is too large
Load diff
2
.config/nvim/ftplugin/c.vim
Normal file
2
.config/nvim/ftplugin/c.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
setlocal colorcolumn=80
|
||||
setlocal textwidth=79
|
||||
2
.config/nvim/ftplugin/cpp.vim
Normal file
2
.config/nvim/ftplugin/cpp.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
setlocal colorcolumn=80
|
||||
setlocal textwidth=79
|
||||
2
.config/nvim/ftplugin/lua.vim
Normal file
2
.config/nvim/ftplugin/lua.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
set textwidth=79
|
||||
set colorcolumn=80
|
||||
10
.config/nvim/ftplugin/markdown.vim
Normal file
10
.config/nvim/ftplugin/markdown.vim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
" Show a visual line at width 120
|
||||
setlocal colorcolumn=80
|
||||
" This auto-wraps the lines after it's reached more than 119 characters.
|
||||
setlocal textwidth=79
|
||||
|
||||
" Spellcheck
|
||||
" Turn on spell check
|
||||
setlocal spell
|
||||
" Set it to English US
|
||||
setlocal spelllang=en
|
||||
6
.config/nvim/ftplugin/python.vim
Normal file
6
.config/nvim/ftplugin/python.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Show a visual market at text width 80
|
||||
setlocal colorcolumn=81
|
||||
|
||||
" Auto-wrap lines
|
||||
setlocal textwidth=80
|
||||
|
||||
2
.config/nvim/ftplugin/rust.vim
Normal file
2
.config/nvim/ftplugin/rust.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
setlocal colorcolumn=80
|
||||
setlocal textwidth=79
|
||||
2
.config/nvim/ftplugin/vim.vim
Normal file
2
.config/nvim/ftplugin/vim.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
setlocal textwidth=79
|
||||
setlocal colorcolumn=80
|
||||
25
.config/nvim/init.vim
Normal file
25
.config/nvim/init.vim
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
" The leader key is the main modifier used for keybindings.
|
||||
" You can use it inside keybindings by using <leader>
|
||||
" I use space as my leader key
|
||||
let g:mapleader = ' '
|
||||
" Local leader is the same principle as leader, but it's used
|
||||
" for keybindings that are local to the current buffer, to
|
||||
" avoid confusion
|
||||
" I use tab as my local leader
|
||||
let g:maplocalleader = "\<tab>"
|
||||
|
||||
" Here, I source the various config files. I explicitely source them one by one
|
||||
" to ensure their order is always the same (the autocmds are needed later, e.g.
|
||||
" when the colorscheme is sourced)
|
||||
runtime init/autocmds.vim
|
||||
runtime init/keys.vim
|
||||
runtime init/netrw.vim
|
||||
runtime init/settings.vim
|
||||
|
||||
" The configs for the various plugins don't have a particular order to them
|
||||
runtime! init/plugins/*.vim
|
||||
|
||||
" This sources a .vim/local.vim file in the current directory, if it exists.
|
||||
" This allows for project-specific settings, such as on-write autocmd's etc.
|
||||
" The silent! prevents it from showing an error if no local.vim file is found
|
||||
silent! source .vim/local.vim
|
||||
12
.config/nvim/init/autocmds.vim
Normal file
12
.config/nvim/init/autocmds.vim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function! OverwriteBackground()
|
||||
" We only want a transparent background if we're using the dark theme
|
||||
if g:colors_name == 'flattened_dark'
|
||||
highlight Normal guibg=NONE ctermbg=NONE
|
||||
highlight LineNr ctermfg=NONE ctermbg=NONE
|
||||
endif
|
||||
endfunction
|
||||
|
||||
augroup ColorschemeOverwrite
|
||||
autocmd!
|
||||
autocmd ColorScheme * call OverwriteBackground()
|
||||
augroup END
|
||||
94
.config/nvim/init/keys.vim
Normal file
94
.config/nvim/init/keys.vim
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
" zz centers the cursor, so combining this with navigation commands keeps my
|
||||
" cursor centered
|
||||
" nnoremap j jzz
|
||||
" nnoremap k kzz
|
||||
" nnoremap gg ggzz
|
||||
" nnoremap G Gzz
|
||||
|
||||
" I navigate my splits using <leader>hjkl. This setup allows for fast
|
||||
" switching, which is important as I often end up with 3-4 splits after a while
|
||||
nnoremap <silent> <leader>h :wincmd h<CR>
|
||||
nnoremap <silent> <leader>j :wincmd j<CR>
|
||||
nnoremap <silent> <leader>k :wincmd k<CR>
|
||||
nnoremap <silent> <leader>l :wincmd l<CR>
|
||||
|
||||
" These mappings just exist because I'm lazy, and they only really work in
|
||||
" QWERTY
|
||||
nnoremap <silent> <leader>w :w<CR>
|
||||
nnoremap <silent> <leader>q :q<CR>
|
||||
|
||||
" As I don't use the arrow keys for navigation, I remapped them to allow for
|
||||
" resizing of my splits. If you hold down shift, you can control the size of
|
||||
" the splits more precisely
|
||||
nnoremap <silent> <Up> :resize +5<CR>
|
||||
nnoremap <silent> <Down> :resize -5<CR>
|
||||
nnoremap <silent> <Right> :vertical resize +5<CR>
|
||||
nnoremap <silent> <Left> :vertical resize -5<CR>
|
||||
nnoremap <silent> <S-Up> :resize +1<CR>
|
||||
nnoremap <silent> <S-Down> :resize -1<CR>
|
||||
nnoremap <silent> <S-Right> :vertical resize +1<CR>
|
||||
nnoremap <silent> <S-Left> :vertical resize -1<CR>
|
||||
|
||||
" Disable arrow keys in editing & visual mode, as I have no need for them
|
||||
inoremap <Right> <nop>
|
||||
inoremap <Left> <nop>
|
||||
inoremap <Up> <nop>
|
||||
inoremap <Down> <nop>
|
||||
vnoremap <Right> <nop>
|
||||
vnoremap <Left> <nop>
|
||||
vnoremap <Up> <nop>
|
||||
vnoremap <Down> <nop>
|
||||
|
||||
" Tabs bindings
|
||||
" TODO improve on these
|
||||
" Create tab
|
||||
nnoremap <silent> <leader>o :tabnew<CR>
|
||||
" Close current tab
|
||||
nnoremap <silent> <leader>p :tabclose<CR>
|
||||
" Go to next tab
|
||||
nnoremap <silent> <leader>i :tabnext<CR>
|
||||
" Go to previous tab
|
||||
nnoremap <silent> <leader>u :tabprevious<CR>
|
||||
|
||||
" This function allows me to switch between a dark & light theme. I mainly use
|
||||
" the dark theme, but when I'm sitting outside, the light theme can be much
|
||||
" more readable
|
||||
function! ColorschemeToggle()
|
||||
if g:colors_name == 'flattened_dark'
|
||||
colorscheme flattened_light
|
||||
else
|
||||
colorscheme flattened_dark
|
||||
endif
|
||||
endfunction
|
||||
|
||||
nnoremap <silent> <leader>c :call ColorschemeToggle()<CR>
|
||||
|
||||
" As I'm constantly tweaking my config, I use keybindings to easily open &
|
||||
" source it without leaving my session
|
||||
nnoremap <silent> <leader>vs :source $MYVIMRC<CR>
|
||||
" Opens CtrlP in my config directory
|
||||
nnoremap <silent> <leader>ve :split<CR>:exec 'CtrlP ' . fnamemodify($MYVIMRC, ':h')<CR>
|
||||
|
||||
" This was probably one of the best ideas I found (it wasn't my original idea).
|
||||
" By remapping Esc to jk, I could switch between modes without moving my hands.
|
||||
" This improved my speed by much more than I was expecting, and helped with not
|
||||
" straining my hands as much.
|
||||
inoremap jk <Esc>
|
||||
inoremap <Esc> <nop>
|
||||
|
||||
" I use this binding to quickly switch between two files.
|
||||
nnoremap <leader>a <C-^>
|
||||
|
||||
" Terminal keybindings
|
||||
" I use the terminal inside Neovim a lot, so I have some keybindings to easily
|
||||
" open one
|
||||
" Use jk in terminal as well
|
||||
tnoremap <silent> jk <C-\><C-n>
|
||||
|
||||
" I explicitely use $SHELL, because my main shell is not necessarily Bash, and
|
||||
" I want to use my main shell inside Vim as well
|
||||
nnoremap <silent> <leader>rr :e term://$SHELL<CR>
|
||||
nnoremap <silent> <leader>rh :vsp<CR>:wincmd h<CR>:e term://$SHELL<CR>
|
||||
nnoremap <silent> <leader>rl :vsp<CR>:e term://$SHELL<CR>
|
||||
nnoremap <silent> <leader>rk :sp<CR>:wincmd k<CR>:e term://$SHELL<CR>
|
||||
nnoremap <silent> <leader>rj :sp<CR>:e term://$SHELL<CR>
|
||||
20
.config/nvim/init/netrw.vim
Normal file
20
.config/nvim/init/netrw.vim
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
" Open in tree view by default
|
||||
let g:netrw_liststyle = 3
|
||||
|
||||
" Hide banner at the top
|
||||
let g:netrw_banner = 0
|
||||
|
||||
" Change how netrc opens files
|
||||
" 1 - horizontal split
|
||||
" 2 - vertical split
|
||||
" 3 - new tab
|
||||
" 4 - previous window
|
||||
let g:netrw_browse_split = 4
|
||||
|
||||
" Width of the view
|
||||
let g:netrw_winsize = 15
|
||||
|
||||
" Start netrc on startup
|
||||
augroup netrc
|
||||
autocmd!
|
||||
augroup END
|
||||
46
.config/nvim/init/plugins/README.md
Normal file
46
.config/nvim/init/plugins/README.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Plugins
|
||||
I use quite a lot of plugins, as they greatly improve my workflow or just add
|
||||
features that you most definitely need if you want to use Vim as your main
|
||||
editor.
|
||||
|
||||
## List of plugins
|
||||
|
||||
* [CoC](https://github.com/neoclide/coc.nvim): my autocomplete plugin of
|
||||
choice. It provide full LSP support, so many of its plugins use the exact
|
||||
same setup as a VSCode plugin.
|
||||
* [CtrlP](https://github.com/ctrlpvim/ctrlp.vim): a fuzzy search tool which I
|
||||
use for most navigation.
|
||||
* [vim-fugitive](https://github.com/tpope/vim-fugitive): an amazing Git client
|
||||
for Vim. It has support for all the usual stuff (commits, adding/removing
|
||||
files etc.), as well as a merge conflict resolver using Vim's built-in diff
|
||||
view.
|
||||
* [vim-surround](https://github.com/tpope/vim-surround): adds mappings to
|
||||
change/remove surrounding characters (e.g. (), "", '' etc.). It integrates
|
||||
really well with already existing bindings, making it feel like it's a
|
||||
built-in feature.
|
||||
* [vim-commentary](https://github.com/tpope/vim-commentary): adds mappings for
|
||||
commenting/uncommenting lines easily. It has support for basically all
|
||||
languages I ever use.
|
||||
* [tagbar](https://github.com/preservim/tagbar): a sidebar chowing you the
|
||||
layout of the current file. It helps me orient myself within the file/class
|
||||
I'm currently working on, as well as easing the movement between
|
||||
classes, functions etc...
|
||||
* [vim-gitgutter](https://github.com/airblade/vim-gitgutter): shows Git
|
||||
diff markers in the sidebar.
|
||||
* [indentline](https://github.com/Yggdroot/indentLine): shows a visual line to
|
||||
indicate which lines are on the same indentation level.
|
||||
* vim-python-pep8-indent: makes Vim properly indent Python according to PEP8
|
||||
* [vim-indent-object](https://github.com/michaeljsmith/vim-indent-object):
|
||||
allows you to select the current indentation block using the same bindings as
|
||||
paragraphs, inner brackets, etc...
|
||||
* NERDTree: file browser, useful for getting your bearings in a large project.
|
||||
* [vim-toml](https://github.com/cespare/vim-toml): syntax highlighting for toml
|
||||
files
|
||||
* [auto-pairs](https://github.com/jiangmiao/auto-pairs): auto-insert matching
|
||||
pairs
|
||||
* [Tabular](https://github.com/godlygeek/tabular): useful plugin for aligning
|
||||
text
|
||||
* [haskell-vim](https://github.com/neovimhaskell/haskell-vim): indentation for
|
||||
Haskell
|
||||
* [ion-vim](https://github.com/vmchale/ion-vim): syntax highlighting for the
|
||||
[ion shell](https://github.com/redox-os/ion) (my current shell).
|
||||
38
.config/nvim/init/plugins/coc.vim
Normal file
38
.config/nvim/init/plugins/coc.vim
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
function! s:check_back_space() abort
|
||||
let col = col('.') - 1
|
||||
return !col || getline('.')[col - 1] =~ '\s'
|
||||
endfunction
|
||||
|
||||
inoremap <silent><expr> <Tab>
|
||||
\ pumvisible() ? "\<C-n>" :
|
||||
\ <SID>check_back_space() ? "\<Tab>" :
|
||||
\ coc#refresh()
|
||||
|
||||
" Navigating through results list
|
||||
" Tab to select next result
|
||||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||
" Shift+Tab to select previous
|
||||
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
|
||||
" Use enter to confirm completion
|
||||
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
|
||||
" Select first option if no option is selected on enter
|
||||
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() : "\<C-g>u\<CR>"
|
||||
|
||||
" Project refactoring keybinding
|
||||
nnoremap <silent> <leader>pwr :CocSearch <C-R>=expand("<cword>")<CR><CR>
|
||||
|
||||
" Go to definition
|
||||
nmap gd <Plug>(coc-definition)
|
||||
nmap gb <C-o>
|
||||
nmap gi <Plug>(coc-implementation)
|
||||
nmap gr <Plug>(coc-references)
|
||||
|
||||
" Jump between diagnostic positions
|
||||
nmap <silent> <leader>dk <Plug>(coc-diagnostic-prev)
|
||||
nmap <silent> <leader>dK <Plug>(coc-diagnostic-prev-error)
|
||||
nmap <silent> <leader>dj <Plug>(coc-diagnostic-next)
|
||||
nmap <silent> <leader>dJ <Plug>(coc-diagnostic-next-error)
|
||||
|
||||
" Show full diagnostics list
|
||||
nmap <silent> <leader>dd :CocDiagnostics<CR>
|
||||
|
||||
28
.config/nvim/init/plugins/ctrlp.vim
Normal file
28
.config/nvim/init/plugins/ctrlp.vim
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
" Remap CtrlP shortcut
|
||||
let g:ctrlp_map = '<leader>t'
|
||||
|
||||
" Enable caching
|
||||
" I think this'll make it run just a bit faster
|
||||
let g:ctrlp_use_caching = 1
|
||||
" Don't clear the cache on exit, so it won't re-index every time we open the
|
||||
" project
|
||||
let g:ctrlp_clear_cache_on_exit = 0
|
||||
" Cache inside the project's .vim directory to keep things tidy
|
||||
let g:ctrlp_cache_dir = './.vim/cache/ctrlp'
|
||||
|
||||
" You can define different listing commands for different version controls
|
||||
" systems etc.
|
||||
" I currently only have experience with Git, but I've written the config like
|
||||
" this to allow for easy expansion if needed.
|
||||
let g:ctrlp_user_command = {
|
||||
\ 'types': {
|
||||
\ 1: ['.git', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
|
||||
\ },
|
||||
\ 'fallback': 'find %s -type f'
|
||||
\ }
|
||||
|
||||
" Limit max number of files
|
||||
" This prevents me from indexing my entire HOME by accident
|
||||
let g:ctrlp_max_files = 10000
|
||||
" Also limit recursion depth
|
||||
let g:ctrlp_max_depth = 40
|
||||
12
.config/nvim/init/plugins/git-fugitive.vim
Normal file
12
.config/nvim/init/plugins/git-fugitive.vim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
" Key bindings for quicker Git work
|
||||
" Status
|
||||
nnoremap <silent> <leader>gg :Git<CR>
|
||||
" Commit
|
||||
nnoremap <silent> <leader>gc :Git commit<CR>
|
||||
" Push
|
||||
nnoremap <silent> <leader>gp :Git push<CR>
|
||||
" Show diffs
|
||||
nnoremap <silent> <leader>gd :Gvdiffsplit!<CR>
|
||||
" Easily resolve merges
|
||||
nnoremap <silent> <leader>gh :diffget //2<CR>
|
||||
nnoremap <silent> <leader>gl :diffget //3<CR>
|
||||
2
.config/nvim/init/plugins/gitgutter.vim
Normal file
2
.config/nvim/init/plugins/gitgutter.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
" Disable key mappings
|
||||
let g:gitgutter_map_keys = 0
|
||||
2
.config/nvim/init/plugins/gutentags.vim
Normal file
2
.config/nvim/init/plugins/gutentags.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
" Set name of tags file; should put it inside .vim directory
|
||||
let g:gutentags_ctags_tagfile='.vim/tags'
|
||||
2
.config/nvim/init/plugins/indentline.vim
Normal file
2
.config/nvim/init/plugins/indentline.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
" Make each indent level have a specific character
|
||||
let g:indentLine_char_list = ['|', '¦', '┆', '┊']
|
||||
47
.config/nvim/init/plugins/nerdtree.vim
Normal file
47
.config/nvim/init/plugins/nerdtree.vim
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
" Listing of paths to ignore. I think I could use something similar to CtrlP
|
||||
" here as well, but I want NERDTree to also show some non-version
|
||||
" controlled files. It ignores the following files:
|
||||
" Vim
|
||||
" Other IDEs
|
||||
" Python
|
||||
" Java
|
||||
" Git
|
||||
" Stack & Haskell
|
||||
" CMake
|
||||
" Non-text files
|
||||
let NERDTreeIgnore = [
|
||||
\ '^\.vim$[[dir]]',
|
||||
\ '^\.vscode$[[dir]]', '.*\.code-workspace$[[file]]', '^\.idea$[[dir]]',
|
||||
\ '^__pycache__$[[dir]]', '^\.pytest_cache$[[dir]]', '^venv$[[dir]]',
|
||||
\ '\.egg-info$[[dir]]', '^dist$[[dir]]', '^build$[[dir]]',
|
||||
\ '^\.eggs$[[dir]]',
|
||||
\ '^out$[[dir]]',
|
||||
\ '^\.git$[[dir]]',
|
||||
\ '^\.stack-work$[[dir]]', '\.lock$',
|
||||
\ '^CMakeFiles$[[dir]]', '^CMakeCache.txt$[[file]]',
|
||||
\ '.pdf$[[file]]']
|
||||
|
||||
" Show files starting with .
|
||||
let NERDTreeShowHidden = 1
|
||||
" Hide 'Press ? for help'
|
||||
let NERDTreeMinimalUI = 1
|
||||
let NERDTreeDirArrows = 1
|
||||
" Close NERDTree after opening a file
|
||||
let NERDTreeQuitOnOpen = 1
|
||||
" Explicitely tell NERDTree to never change my current working directory
|
||||
let NERDTreeChDirMode = 0
|
||||
" Sort naturally, e.g. z10.txt comes after z1.txt
|
||||
let NERDTreeNaturalSort = 1
|
||||
" Show files, not only directories
|
||||
let NERDTreeShowFiles = 1
|
||||
" Don't show line numbers
|
||||
let NERDTreeShowLineNumbers = 0
|
||||
" Show NERDTree on the left side
|
||||
let NERDTreeWinPos = 'left'
|
||||
" Use the minimal menu system
|
||||
let NERDTreeMinimalMenu = 1
|
||||
" Always delete the buffer when you rename the file
|
||||
let NERDTreeAutoDeleteBuffer = 1
|
||||
|
||||
" Open NERDTree on the current file
|
||||
nnoremap <silent> tt :NERDTreeFind<CR>
|
||||
68
.config/nvim/init/plugins/plugins.vim
Normal file
68
.config/nvim/init/plugins/plugins.vim
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
" See README.md for more information about the plugins
|
||||
"
|
||||
" Load the plugins
|
||||
call plug#begin('~/.config/nvim/plugged')
|
||||
|
||||
" Powerful auto-complete engine
|
||||
" TODO switch to coc-jedi for Python stuff
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
|
||||
" Fast file navigation using fuzzy search
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
|
||||
" Git client within Vim
|
||||
Plug 'tpope/vim-fugitive'
|
||||
|
||||
" Change surrounding quotes, brackets...
|
||||
Plug 'tpope/vim-surround'
|
||||
|
||||
" Comment out lines easily
|
||||
Plug 'tpope/vim-commentary'
|
||||
|
||||
" Show ctags in sidebar, useful for navigation
|
||||
Plug 'majutsushi/tagbar'
|
||||
|
||||
" Show Git diffs in sidebar
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
|
||||
" Show indentation using thin lines
|
||||
Plug 'yggdroot/indentline'
|
||||
|
||||
" Auto-indent according to PEP8 rules
|
||||
Plug 'hynek/vim-python-pep8-indent'
|
||||
|
||||
" Text object based on current indent level (e.g. Python)
|
||||
Plug 'michaeljsmith/vim-indent-object'
|
||||
|
||||
" Sidebar showing file structure
|
||||
Plug 'scrooloose/nerdtree'
|
||||
|
||||
" Toml syntax highlighting
|
||||
Plug 'cespare/vim-toml'
|
||||
|
||||
" Auto-bracket pairs
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
|
||||
" This plugin allows you to align text according to specified delimiters
|
||||
" e.g. this:
|
||||
" x = 5
|
||||
" alongname = 15
|
||||
" can become this:
|
||||
" x = 15
|
||||
" alongname = 15
|
||||
Plug 'godlygeek/tabular'
|
||||
|
||||
" Some auto-complete for haskell
|
||||
Plug 'neovimhaskell/haskell-vim'
|
||||
|
||||
Plug 'vmchale/ion-vim'
|
||||
|
||||
Plug 'Chiel92/vim-autoformat'
|
||||
|
||||
Plug 'leafoftree/vim-vue-plugin'
|
||||
|
||||
Plug 'othree/javascript-libraries-syntax.vim'
|
||||
|
||||
Plug 'udalov/kotlin-vim'
|
||||
|
||||
call plug#end()
|
||||
25
.config/nvim/init/plugins/tagbar.vim
Normal file
25
.config/nvim/init/plugins/tagbar.vim
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
" Navigating between tags
|
||||
" Go to next top-level tag
|
||||
let g:tagbar_map_nexttag = 'J'
|
||||
" Same, but previous
|
||||
let g:tagbar_map_prevtag = 'K'
|
||||
" Show prototype of current tag
|
||||
let g:tagbar_map_showproto = 'u'
|
||||
" Use order from source file
|
||||
let g:tagbar_sort = 0
|
||||
" Don't show help tip at the top
|
||||
let g:tagbar_compact = 1
|
||||
" Auto-open folds while following cursor
|
||||
let g:tagbar_autoshowtag = 1
|
||||
" Don't show status line
|
||||
let g:no_status_line = 1
|
||||
" Close tagbar when a tag is selected
|
||||
let g:tagbar_autoclose = 1
|
||||
|
||||
" Open tagbar when opening certain language types
|
||||
" autocmd BufNewFile,BufReadPre *.py,*.java,*.rs,*.cpp,*.c,*.r TagbarOpen
|
||||
|
||||
" Explicitly close tagbar for these types
|
||||
" autocmd BufNewFile,BufReadPre *.txt,*.rst TagbarClose
|
||||
|
||||
nnoremap <silent> tr :TagbarToggle<CR>
|
||||
63
.config/nvim/init/settings.vim
Normal file
63
.config/nvim/init/settings.vim
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
" Terminal
|
||||
" As I often use non-standard shells, certain things can break if this isn't
|
||||
" explicitely set
|
||||
" TODO maybe use which to find the executable?
|
||||
set shell=/bin/bash
|
||||
|
||||
|
||||
" Makes your cursor centered whenever possible. 999 is just a large number,
|
||||
" making it always centered
|
||||
set scrolloff=999
|
||||
|
||||
" Colorscheme
|
||||
" This forces (Neo)Vim to assume the terminal supports 256 colors.
|
||||
" Without this, some colorschemes (including mine) don't work properly.
|
||||
set termguicolors
|
||||
" Set colorscheme
|
||||
colorscheme flattened_dark
|
||||
hi Normal guibg=NONE ctermbg=NONE
|
||||
hi LineNr ctermfg=NONE ctermbg=NONE
|
||||
|
||||
" Line numbers
|
||||
" I use the combination of absolute and relative line numbers. On the
|
||||
" current line, it shows the absolute; on all the others, the relative.
|
||||
set number relativenumber
|
||||
|
||||
" Splits
|
||||
" I prefer the logic of 'open your main window first, and all other
|
||||
" afterwards', so this makes a new file open below or to the right of the
|
||||
" current one.
|
||||
set splitbelow splitright
|
||||
|
||||
" Indentation
|
||||
" I only use four spaces as indentation. This configures Vim to always use four
|
||||
" spaces, for both manual tabs and automatic indentation.
|
||||
set expandtab tabstop=4 shiftwidth=4
|
||||
|
||||
" Search functionality
|
||||
" Show matches as pattern is being typed
|
||||
set incsearch
|
||||
" Ignore case as long as there are no capital letters in the pattern
|
||||
set smartcase
|
||||
" Don't hightlight search results after search is finished
|
||||
set nohlsearch
|
||||
|
||||
" autocmd BufReadPre * call SetDirs()
|
||||
" Turn on swap files
|
||||
set swapfile
|
||||
set directory=./.vim/swap//
|
||||
" Create file backups
|
||||
" set backup
|
||||
" Store backups in .vim directory, next to swap files
|
||||
" set backupdir=./.vim/backup/,
|
||||
" Temporary, until I've found a fix
|
||||
set nobackup
|
||||
" Create an undo file for each file; this makes undo persistent
|
||||
set undofile
|
||||
set undodir=./.vim/undo//
|
||||
|
||||
" Increases speed of CoC and Gitgutter
|
||||
set updatetime=250
|
||||
|
||||
" Make Vim use pipes instead of temp files when running commands
|
||||
set noshelltemp
|
||||
Loading…
Add table
Add a link
Reference in a new issue