Skip to content

Instantly share code, notes, and snippets.

@eli-oat
Last active May 29, 2017 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eli-oat/2ef549d7b296e5d88590403419bfac26 to your computer and use it in GitHub Desktop.
Save eli-oat/2ef549d7b296e5d88590403419bfac26 to your computer and use it in GitHub Desktop.
.vimrc (as of 2016-12-13)
" AS OF 2017-05-29
set nocompatible
filetype off
set number
" typography and whatnot, note that this is a non-standard font
" instal hack: https://github.com/powerline/fonts
set guifont=Hack:h18
set background=light
syntax on
set t_Co=256
set spell spelllang=en_us
set tabstop=4
set softtabstop=4
set expandtab
" ale settings
let &runtimepath.=',~/.vim/bundle/ale'
let g:ale_emit_conflict_warnings = 0
" airline on!
set laststatus=2
let g:airline_powerline_fonts=1
" fancy airline font on (0 off)
let g:airline_theme='understated'
let g:indent_guides_start_level=1
let g:indent_guides_guide_size=3
let g:indent_guides_enable_on_vim_startup=1
set wrap linebreak nolist
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" all the plugins go here
Plugin 'vim-airline/vim-airline'
Plugin 'mattn/emmet-vim'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'scrooloose/nerdtree'
Plugin 'gorodinskiy/vim-coloresque'
Plugin 'airblade/vim-gitgutter'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'reedes/vim-pencil'
Plugin 'vim-syntastic/syntastic' " consider deleting, ale does the same thing
Plugin 'w0rp/ale'
" requires that you run $npm install -g livedown
Plugin 'shime/vim-livedown'
" livedown mapping
nmap gm :LivedownToggle<CR>
" requires that you run $npm install -g csscomb
Plugin 'csscomb/vim-csscomb.git'
" Automatically comb your CSS on save
autocmd BufWritePre,FileWritePre *.css,*.less,*.scss,*.sass silent! :CSScomb
" Pencil configuration
filetype plugin on
let g:pencil#wrapModeDefault = 'soft'
augroup pencil
autocmd!
autocmd FileType markdown,mkd call pencil#init()
autocmd FileType text call pencil#init()
augroup END
" Syntastic Settings
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_loc_list_height = 5
let g:syntastic_auto_loc_list = 0
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 1
let g:syntastic_error_symbol = '❌'
let g:syntastic_style_error_symbol = '⁉️'
let g:syntastic_warning_symbol = '⚠️'
let g:syntastic_style_warning_symbol = '💩'
highlight link SyntasticErrorSign SignColumn
highlight link SyntasticWarningSign SignColumn
highlight link SyntasticStyleErrorSign SignColumn
highlight link SyntasticStyleWarningSign SignColumn
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
" Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
" Plugin 'L9'
" Git plugin not hosted on GitHub
" Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
" Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
" Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Install L9 and avoid a Naming conflict if you've already installed a
" different version somewhere else.
" Plugin 'ascenator/L9', {'name': 'newL9'}
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Minimal Color Scheme
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "minimal"
hi Normal guifg=#424242 ctermfg=black guibg=#F4F3F1
hi NonText guifg=#424242 ctermfg=black
hi comment guifg=darkgray ctermfg=darkgray gui=italic
hi constant guifg=#424242 ctermfg=black
hi string guifg=darkgray ctermfg=darkgray
hi identifier guifg=#424242 ctermfg=black
hi statement guifg=#424242 ctermfg=black gui=bold cterm=bold
hi define gui=bold cterm=bold
hi preproc guifg=#424242 ctermfg=black
hi type guifg=#424242 ctermfg=black gui=bold cterm=bold
hi special guifg=#424242 ctermfg=black ctermfg=black
hi Underlined guifg=#424242 ctermfg=black gui=underline cterm=underline
hi label guifg=#424242 ctermfg=black
hi operator guifg=#424242 ctermfg=black
hi delimiter guifg=darkgray ctermfg=darkgray gui=NONE cterm=NONE
hi ErrorMsg guifg=#424242 guifg=#424242 ctermfg=black
hi WarningMsg guifg=#424242 ctermfg=black gui=bold cterm=bold
hi ModeMsg guifg=#424242 gui=NONE ctermfg=black
hi MoreMsg guifg=#424242 gui=NONE ctermfg=black
hi Error guifg=#424242 guifg=#424242 gui=underline ctermfg=black
hi Todo guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi Cursor guifg=#424242 guibg=#FF69B4 ctermfg=black ctermbg=blue
hi Search guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi IncSearch guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi LineNr guifg=#424242 ctermfg=black
hi title guifg=#424242 gui=bold cterm=bold
hi StatusLine cterm=none gui=none guifg=white ctermfg=white guibg=black ctermbg=black
hi StatusLineNC cterm=none gui=none guifg=fg ctermfg=fg guibg=#cccbca ctermbg=white
hi VertSplit gui=none guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi Visual term=reverse ctermfg=black ctermfg=black guifg=#424242 guifg=#424242
hi DiffChange guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi DiffText guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi DiffAdd guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi DiffDelete guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi Folded guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi FoldColumn guifg=#424242 guifg=#424242 ctermfg=black ctermfg=black
hi cIf0 guifg=#424242 ctermfg=black
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment