removed unneeded loop, fixed messy bug where current line would be deleted if you entered a bad query
update gitignore to ignore vim swap files
remove old code
revert breaking change