fix recongintion of ag cli options

the regex to recognize ag command line options looks for a - anywhere in
the string, but it must be at the beginning of the arg so we don't get
false positives from patterns containing dashes.
ignore swap file exist error handled by vim