add *.swp to gitignore. Finally made a definition of AFD that actually work.