Theming

< Previous | Next >

General Theme Settings

set termguicolors set background=dark colorscheme onedark

Setup termguicolors to make them 256, dark background for compatibility, and my current colorscheme is onedark


hi Normal guibg=NONE ctermbg=NONE

I like a transparent vim background, so I set it for both color modes


hi CursorLine ctermbg=238 gui=bold

This is set such that the CursorLine is grey and the text is bold


let g:indent_guides_auto_colors = 0 let g:indent_guides_guide_size = 1 autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=NONE ctermbg = 3 autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=violet ctermbg = 4

Set the size and colors for my indent guides, straightforward enough


let g:minimap_width = 10 let g:minimap_auto_start = 1 let g:minimap_auto_start_win_enter = 1

Minimap stuff, they're about what they read.


let g:rainbow#pairs = [['{','}'], ['(',')'], ['[',']']] let g:rainbow#blacklist = [236, 148, 197]

Setup all pairs of brackets for coloration, and the color blacklist are one's I felt didn't match my scheme or that didn't stand out very well, subjective/setup dependent.


Startify Settings

let g:startify_custom_header = [ \ '"""""""""""""""""""""""""""""""""""""""', \ '"""""""""""""""""""""""""""""""""""""""', \ '""""""""██╗"""██╗██╗███╗"""███╗""""""""', \ '""""""""██║"""██║██║████╗"████║""""""""', \ '""""""""██║"""██║██║██╔████╔██║""""""""', \ '""""""""╚██╗"██╔╝██║██║╚██╔╝██║""""""""', \ '"""""""""╚████╔╝"██║██║"╚═╝"██║""""""""', \ '""""""""""╚═══╝""╚═╝╚═╝"""""╚═╝""""""""', \ '"""""""""""""""""""""""""""""""""""""""', \ '"""""""""""""""""""""""""""""""""""""""' \ ]

Custom startify header, this can be anything you want in this format


let g:startify_lists = [ \ { 'header':[], 'type':'files'}, \ ]

Custom setup for headers in startify, I only care about my recently used files and dont need a header.

< Previous | Next >
Main Page