Vim filetype plugin enables you to run xqueries files against a MarkLogic server, it displays the results in a separate window.
vim (obviously), MarkLogic (probably obvious), and curl (not so obvious)
Can be broken into two steps. Setup vim and setup MarkLogic
For setting up vim I'd suggest either
Both have good documentation and make it far easier to setup plugins.
For pathogen put the plugin in your bundle directory and in vim run
For vundle add this line to your vimrc
To manually install:
copy vim-xqmarklogic/ftplugin/xquery.vim to ~/.vim/ftplugin (or ~\vimfiles\ftplugin)
copy vim-xqmarklogic/doc/xqmarklogic.txt to ~/.vim/ftplugin (or ~\vimfiles\ftplugin)
In vim run:
For more details and setting up MarkLogic run this in vim once you've done the above: