Skip to content

Instantly share code, notes, and snippets.

@tatic0
Created August 14, 2014 14:02
Show Gist options
  • Save tatic0/937fb031cb9ceef3e0c6 to your computer and use it in GitHub Desktop.
Save tatic0/937fb031cb9ceef3e0c6 to your computer and use it in GitHub Desktop.
python, ino and json friendly vimrc file
syn on
set number
set tabstop=2
set expandtab
set shiftwidth=2
set bg=dark
map <leader>jt <Esc>:%!json_xs -f json -t json-pretty<CR>
au BufRead,BufNewFile *.json set filetype=json
filetype on
au BufNewFile,BufRead *.ino set filetype=c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment