ln -s $(CURDIR)/dotbash_profile ~/.bash_profile
ln -s $(CURDIR)/dotvimrc ~/.vimrc
ln -s $(CURDIR)/dotgvimrc ~/.gvimrc
+ mkdir ~/env
+ mkdir ~/.saves
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
+##################################################
+#
+# Scala/Play Stuffs
+#
+##################################################
+
+export JAVA_OPTS="-server -Xms512m -Xmx2048m -XX:PermSize=512M -XX:MaxPermSize=1024M -XX:+CMSClassUnloadingEnabled"
+
##################################################
#
# Aliases
set nocompatible
+filetype plugin indent on
syntax on
set autoindent
set mouse=a
set ttymouse=xterm2
-filetype plugin indent on
+function! SetupEnvironment()
+ let l:path = expand('%:p')
+ " MapQuest project-specific configurations
+ if l:path =~ '/Users/ashamblin14/workspace'
+ if &filetype == "javascript"
+ setlocal tabstop=2 softtabstop=2 shiftwidth=2
+ endif
+ endif
+endfunction
autocmd FileType make setlocal noexpandtab
+au BufNewFile,BufRead *.js set filetype=javascript
au BufNewFile,BufRead *.json set filetype=javascript
au BufNewFile,BufRead Podfile,*.podspec set filetype=ruby
au BufNewFile,BufRead /usr/local/nginx/conf/* set filetype=nginx
au BufNewFile,BufRead *.dat setlocal noexpandtab
au BufNewFile,BufRead *.jade setlocal noexpandtab
+au BufNewFile,BufRead * call SetupEnvironment()
+
call pathogen#infect()