Last active
April 19, 2017 19:25
-
-
Save sethlivingston/5d176ae74374e085fc4d1f6cf5d5fd1c to your computer and use it in GitHub Desktop.
This file contains 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
set nocompatible | |
" Load plugins | |
call plug#begin('~/vimfiles/plugged') | |
Plug 'ctrlpvim/ctrlp.vim' | |
Plug 'rakr/vim-one' | |
Plug 'pangloss/vim-javascript' | |
Plug 'tomtom/tcomment_vim' | |
Plug 'tpope/vim-dispatch' | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-sleuth' | |
Plug 'tpope/vim-surround' | |
Plug 'vim-airline/vim-airline' | |
Plug 'jiangmiao/auto-pairs' | |
call plug#end() | |
" Split navigation | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
" Configure CtrlP | |
let g:ctrlp_max_files=0 | |
let g:ctrlp_max_depth=100 | |
let g:ctrlp_follow_symlinks=1 | |
let g:ctrlp_custom_ignore = { | |
\ 'dir': '\v[\/](\.git|node_modules)$', | |
\ 'file': '\v\.(exe|dll|user)$' | |
\ } | |
" Configure color scheme | |
set termguicolors | |
set background=light | |
colorscheme one | |
let g:airline_theme='one' | |
" Configure GUI | |
if has('gui_running') | |
set guioptions-=T " Turn off toolbar | |
set guifont=Fira\ Code:h8 | |
endif | |
" File type synonyms | |
autocmd BufNewFile,BufRead *.json set ft=javascript | |
" Final settings | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment