Skip to content

Instantly share code, notes, and snippets.

@oyvindrobertsen
Created June 13, 2015 11:11
Show Gist options
  • Save oyvindrobertsen/81bd20fa37c4415a2f5a to your computer and use it in GitHub Desktop.
Save oyvindrobertsen/81bd20fa37c4415a2f5a to your computer and use it in GitHub Desktop.
set nocompatible
filetype plugin indent on
syntax enable
set number
set encoding=utf-8
let mapleader = ","
command Smake silent make
set nomore
" Tab stuff
set tabstop=4
set shiftwidth=4
set expandtab
autocmd FileType javascript setlocal shiftwidth=2 tabstop=2
autocmd FileType jade setlocal shiftwidth=2 tabstop=2
autocmd FileType scss setlocal shiftwidth=2 tabstop=2
autocmd FileType coffee setlocal shiftwidth=2 tabstop=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment