Last active
December 3, 2019 12:41
-
-
Save davidgodzsak/63e300a06aa65aae73519bc8da2f39fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.vim/plugged') | |
" Plugins | |
Plug 'junegunn/goyo.vim' | |
Plug 'itchyny/lightline.vim' | |
Plug 'NLKNguyen/papercolor-theme' | |
Plug 'sheerun/vim-polyglot' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'scrooloose/nerdtree' | |
Plug 'terryma/vim-multiple-cursors' | |
Plug 'ycm-core/YouCompleteMe' | |
Plug 'tpope/vim-fugitive' | |
call plug#end() | |
" NerdTree settings | |
map <Tab><Tab> :NERDTreeToggle<CR> | |
" Lightline Settings | |
set laststatus=2 | |
function! LightLineFugitive() | |
if exists("*fugitive#head") | |
let _ = fugitive#head() | |
return strlen(_) ? "\u2325".' '._ : '' | |
endif | |
return '' | |
endfunction | |
let g:lightline = { | |
\ 'colorscheme': 'PaperColor', | |
\ 'separator': { 'left': "\u2593\u2592\u2591", 'right': "\u2591\u2592\u2593"}, | |
\ 'subseparator': { 'left': '>', 'right': '<' }, | |
\ 'active': { | |
\ 'left': [ [ 'mode', 'paste' ],[ 'readonly', 'filename', 'modified' ], ['gitbranch'] ] | |
\ }, | |
\ 'component_function': { | |
\ 'gitbranch': 'LightLineFugitive' | |
\ }, | |
\} | |
" PaperColor Settings | |
set background=light | |
let g:PaperColor_Theme_Options = { | |
\ 'theme': { | |
\ 'default': { | |
\ 'override': { | |
\ 'color00': ['', '231'], | |
\ 'color03': ['', '206'] | |
\ } | |
\ } | |
\ } | |
\} | |
colorscheme PaperColor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment