Add .swp files to gitignore.
Add some basic code, it just finds the next event.