Added vim modelines to dotfiles. Added bash functions.