Skip to content

Instantly share code, notes, and snippets.

@agrathwohl
Created January 29, 2017 01:27
Show Gist options
  • Select an option

  • Save agrathwohl/95441d5ad8dab2a232f00eb39367813e to your computer and use it in GitHub Desktop.

Select an option

Save agrathwohl/95441d5ad8dab2a232f00eb39367813e to your computer and use it in GitHub Desktop.
execute pathogen#infect()
syntax on
filetype plugin indent on
colorscheme badwolf
set noswapfile
set number " Show number lines
set autoindent
filetype plugin indent on
let t_Co=256
let g:netrw_dirhistmax = 0
set term=screen-256color
set shortmess+=c " Getsrid of annoying error messages
set autochdir " Working directory is always same as the file
set showcmd " Show the command as you type
" Search
set ignorecase " Case-insensitive search
set smartcase " Case-sensitive search when using caps
set incsearch " Show match while typing pattern
set hlsearch " Highlight search results
set list " See indent lines
set listchars=tab:\|\
" editing, tabs, indenting
set expandtab " Tab key creates spaces
set smarttab
set cindent
set tabstop=2 " Number of space for tab character
set softtabstop=2 " Number of spaces in tab when editing
set shiftwidth=2 " Number of spaces used for >>, <<, ==
set backspace=2 " Best backspace setting
scriptencoding utf-8
set encoding=utf-8
" status bar
set laststatus=2
set cursorline
set nocursorcolumn
" Syntastic config "
""""""""""""""""""""
let b:syntastic_checkers = ['eslint']
if executable('node_modules/.bin/eslint')
let b:syntastic_javascript_standard_exec = 'node_modules/.bin/eslint'
endif
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_style_error_symbol = '⁉️'
let g:syntastic_warning_symbol = '⚠️'
""""""""""""""""""""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment