git: Add *.pyc to gitignore.
vim: Rewrite vimrc to use functions.