Skip to content

Instantly share code, notes, and snippets.

@hydra35
Created May 2, 2012 08:22
Show Gist options
  • Save hydra35/2575045 to your computer and use it in GitHub Desktop.
Save hydra35/2575045 to your computer and use it in GitHub Desktop.
vimrc: set by file suffix
syntax on
set tag=~/tags
autocmd! BufNewFile,BufReadPre,FileReadPre *.rb set nu et ts=2 sw=2
autocmd! BufNewFile,BufReadPre,FileReadPre *.coffee so ~/.vim/ftplugin/coffee.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment