Ignoring .swp files and log dir