Skip to content

Instantly share code, notes, and snippets.

@dextermb
Last active February 3, 2019 15:58
Show Gist options
  • Save dextermb/fb78db679b5da6f03c59c8bbe50bf121 to your computer and use it in GitHub Desktop.
Save dextermb/fb78db679b5da6f03c59c8bbe50bf121 to your computer and use it in GitHub Desktop.
if &compatible
set nocompatible
endif
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
set runtimepath^=~/.vim/bundle/ctrlp.vim
if dein#load_state('~/.cache/dein')
call dein#begin('~/.cache/dein')
call dein#add('~/.cache/dein/repos/github.com/Shougo/dein.vim')
call dein#add('Shougo/deoplete.nvim')
if !has('nvim')
call dein#add('roxma/nvim-yarp')
call dein#add('roxma/vim-hug-neovim-rpc')
endif
call dein#add('lifepillar/vim-solarized8')
call dein#add('vim-airline/vim-airline')
call dein#add('vim-airline/vim-airline-themes')
call dein#add('wsdjeg/dein-ui.vim')
call dein#end()
call dein#save_state()
endif
set autochdir
set noswapfile
set number
set nowrap
set undofile
set undodir=$HOME/.vimundo
set undolevels=1000
set undoreload=10000
set wildignore+=*/node_modules/*,*/dist/*,*/lib/*
set wildignore+=*.min.css,*.min.js
set wildignore+=*-lock.json,*.lock
" airline
let g:airline_theme='dark'
" pixelmuerto
" set t_Co=256
" colorscheme pixelmuerto
" solarized8
let g:solarized_use16=1
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set background=dark
colorscheme solarized8
filetype plugin indent on
syntax enable
set autoread
set noexpandtab
set shiftwidth=2
set tabstop=2
let lint = ':silent ! standard --fix'
au BufWritePost *.js execute lint
au BufWritePost *.jsx execute lint
set noexpandtab
set shiftwidth=2
set tabstop=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment