Skip to content

Instantly share code, notes, and snippets.

@bradtgmurray
Created January 1, 2014 23:30
Show Gist options
  • Save bradtgmurray/8212847 to your computer and use it in GitHub Desktop.
Save bradtgmurray/8212847 to your computer and use it in GitHub Desktop.
My vimrc
set nocompatible
set et
set sw=4
set ts=4
set sts=4
function! SetupTintinEnv(...)
set sw=2 ts=4 sts=2
set makeprg=../waf\ build
endfunction
autocmd BufNewFile,BufRead /home/brad/pebble/tintin/*.[ch] call SetupTintinEnv()
autocmd BufNewFile,BufRead /home/brad/pebble/tintin/*.[ch] call SetupTintinEnv()
autocmd BufNewFile,BufRead */wscript set ft=python
set smartindent
set hlsearch
set incsearch
syntax on
filetype plugin indent on
set background=dark
colors zenburn
set t_Co=256
set ff=unix
set ruler
set number
set listchars=tab:▸\ ,trail:·
set list
set colorcolumn=120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment