vim (obviously), MarkLogic (probably obvious), and curl (not so obvious)
Any recent vintage vim should work.
MarkLogic6 works, but probably both older and newer versions will as well.
curl needs to be available on the local machine

install details

Works with pathogen.vim, should work with vundle, or other similar plugin managers

Add explicit LICENSE file, better quotes (works in csh now). Version bump because I changed XQsetPassword to now prompt for password (wont take an argument anymore). Add XQsetDefaultPassword to set a default password (not just a buffer specific password). Also prompt on when query is executed if none is set, and then uses that password for later queries.

Skip indenting results if over 400 lines
Warn if xquery buffer has changed but was not saved
Add XQexploreDb command and Mapping
List documents in database with some extra info
(somewhat like "Explore" button in Query Console)