sponsor Vim development Vim logo Vim Book Ad

xqmarklogic : vim file type plugin to run an xquery against a MarkLogic server

 script karma  Rating 1/1, Downloaded by 563    Comments, bugs, improvements  Vim wiki

created by
Darren Cole
 
script type
ftplugin
 
description
Vim filetype plugin enables you to run xquery files against a MarkLogic server, it displays the results in a separate window.

Source: https://github.com/coledarr/vim-xqmarklogic

Requirements

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

Manual Installation

    1.  copy vim-xqmarklogic/ftplugin/xquery.vim to ~/.vim/ftplugin (or ~\vimfiles\ftplugin)
    2. copy vim-xqmarklogic/doc/xqmarklogic.txt to ~/.vim/ftplugin (or ~\vimfiles\ftplugin)
    3. In vim run:
          :helptags
          :help xqmarklogic-config-marklogic
     This will provide the details to setup MarkLogic server side of the plugin.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
xqmarklogic.zip 1.1.1 2013-08-15 7.0 Darren Cole Minor improvement to :XQexploreDb output
xqmarklogic.zip 1.1.0 2012-12-02 7.0 Darren Cole 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.
xqmarklogic.zip 1.0.7 2012-10-24 7.0 Darren Cole Add settings to customize mappings
Add mappings to results window
Update docs
xqmarklogic.zip 1.0.5 2012-10-22 7.0 Darren Cole 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)
xqmarklogic.zip 1.0.2 2012-10-10 7.0 Darren Cole Can turn off setting mappings.
Can turn on or off showing in query of: curl command, query duration, database used.
Can turn off query cleanup
Update helpfile
xqmarklogic.zip 1.0.0 2012-10-04 7.0 Darren Cole Initial upload
ip used for rating: 54.226.239.54

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo