Skip to content

Instantly share code, notes, and snippets.

@kristianfreeman
Created January 11, 2019 16:49
Show Gist options
  • Save kristianfreeman/f68c762638131b56a47eca5e43411178 to your computer and use it in GitHub Desktop.
Save kristianfreeman/f68c762638131b56a47eca5e43411178 to your computer and use it in GitHub Desktop.
call plug#begin('~/.vim/plugged')
Plug 'christoomey/vim-tmux-navigator'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'dracula/vim'
Plug 'edkolev/tmuxline.vim'
Plug 'ntpeters/vim-better-whitespace'
Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'w0rp/ale'
call plug#end()
syntax on
filetype plugin indent on
set nonu
set backspace=indent,eol,start
set expandtab
set ruler
set nofoldenable
set expandtab
set autoindent
set smarttab
set shiftwidth=2
set tabstop=2
nnoremap ; :
nmap <c-b> :bprevious<CR>
nmap <c-n> :bnext<CR>
nnoremap <cr> :w<cr>
let mapleader=","
set history=1000
set undofile
set undodir=~/.vim/undo
set undolevels=1000
set undoreload=10000
set backupdir=~/.vim/backup/
set directory=~/.vim/backup/
set background=dark
color industry
let g:airline_theme='serene'
let g:tmuxline_powerline_separators = 0
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
autocmd BufEnter * EnableStripWhitespaceOnSave
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/node_modules/*,*/bower_components/*,*/vendor/*,*/dist/*,/target/*,.git/*,*/Godeps/*,*/_build/*
" Define js search paths
let g:js_base_paths = [getcwd() . '/frontend/', getcwd() . '/server/']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment