Skip to content

Instantly share code, notes, and snippets.

@andrzejwaw
Created January 12, 2017 12:40
Show Gist options
  • Select an option

  • Save andrzejwaw/0b7b6c8e262e21fa677ad43a1e5f66ef to your computer and use it in GitHub Desktop.

Select an option

Save andrzejwaw/0b7b6c8e262e21fa677ad43a1e5f66ef to your computer and use it in GitHub Desktop.
syntax on
set number
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
au BufRead,BufNewFile *.ino set filetype=cpp
execute pathogen#infect()
call pathogen#helptags()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment