@@ 63,6 63,11 @@ command Strip :call StripTrailingWhiteSpaces()
let @r=':r !cat /dev/random | tr -dc 0-9a-zA-Z | head -c 32' " Random 32 bytes
" Universal Dev'ing
+" If in a git repository (specifically the root), then ignore all files
+" present in git ignore
+if isdirectory('.git')
+ let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
+endif
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " Linux/MacOSX
" Java deving, ECLIPSE_JDT_LS should contain the path to the langaun server