remove committed vim swap file
add callbakc to processLinks()
to support asynchronous functions