Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Aug 15, 2013
Commits on Dec 2, 2012
  1. Add License (MIT), prompt for password, quote curl command better

    authored
    Add explicit LICENSE file for license terms.  Use an MIT type license
    Change to 1.1.0 since I changed XQsetPassword to prompt instead taking
    an argument.
    Add XQsetDefaultPassword to set a default password not just one for the
    current buffer
    Prompt for password when it isn't set in vimrc
    Add better quotes for curl command (it works in csh now)
Commits on Oct 31, 2012
  1. Add TODO for using <Plug>

    authored
Commits on Oct 24, 2012
  1. Add settings to override mappings, reorg a little, update docs

    authored
    Add globals to be able to customize each mapping (results window will
    mirror these for refresh and explore database) If the globals are empty
    don't set mapping
    Update documentation
    Update XQdisplaySettings to display all settings in the order they are
    in the documentation
    Move some of file to make more sense
Commits on Oct 23, 2012
  1. Add mappings to result window, and fixup documentation

    authored
    Add \B, <C-CR>, and \E to results window (refresh window, refresh
    window, refresh window unless in a database listing)
    Fixup documentation, and in particular add results window mappings
    Make \B, <C-CR, and \E buffer local mappings in all cases (results
    windwo and xquery file)
Commits on Oct 22, 2012
  1. Add XQexploreDb command

    authored
    Add command to run an xquery to get a list of documents, their root
    element, and any collections they are part of.  Inspired bye the
    "Explore" button in MarkLogic's Query Console
Commits on Oct 17, 2012
  1. Skip indenting result if over 400 lines

    authored
    If after splitting tags the result buffer is over 400 lines skip trying
    to indent it's going to take a long time.
    Update documentation for this, and add some better tags
Commits on Oct 9, 2012
  1. 1.0.2 can turn off display of database, fix default for showing duration

    authored
    Can now turn off database display in query output
    Added toggle command for turnning of display of databased queried
    All output can now be turned off
    Corrected so that duration is shown in query output by default as
    intended
    Update help file to reflect changes
Commits on Oct 8, 2012
  1. Add turning off mappings, expose other features, and update help

    authored
    Add ability to turn off setting mappings
    Explicitly expose options turn on or off: showing curl command, show
    query duration, and output cleanup
    Make those three above buffer specific settings
    Add (or update) commands to toggle those settings per buffer
Commits on Oct 4, 2012
  1. fix source link

    authored
  2. Update comments

    authored
  3. Add a markdown README

    authored
Commits on Oct 3, 2012
  1. fix typo in tag anchor

    authored
  2. Add separate file for xq.xqy, add documentation

    authored
    Add a file for xq.xqy needed for MarkLogic App Server (from:
    <http://superiorautomaticdictionary.com/vim-nirvana-interactive-xquery-with-marklogic> )
    Added real documentation file
  3. Change plugin name from vim-xqmarklogic.vim -> xqmarklogic.vim

    authored
    Change file from vim-xqmarklogic.vim -> xqmarklogic.vim
    Change variables not to have the vimxqmark... -> xqmark...
Commits on Oct 2, 2012
  1. Initialize on first query, display values

    authored
    Initialize b:___ buffer var on first query
    Add XQdisplaySettings so that you can see what the buffer's settings are
  2. Change some TODOs, default settings that can be overriden,

    authored
    Removed TODOs that have been done
    Add new TODOs
    Setup some some sensible default settings
    Allow default settings to be overriden in vimrc
    Settings can be set with buffer specific values (b:vimxqmarklogic_XXXX)
    Make sure buffer variables are setup so that let b:vimxq will tab
    complete
  3. Can set database, man toggle func match

    authored committed
    Can not set the database
    Add output for what database was queried
    make toggle functions more consistent
  4. Make toggle command match case (XQtogleXXXXX)

    authored committed
  5. Loading needs somemore work, open belowright instead

    authored committed
    Protected loading to only once
    Made sure commands are defined not just in first buffer
    Both of the above could probably use improvement
    Open belowright instead of botright... (should make it an option)
  6. Add options and toggles for showing duration and curl cmd

    authored committed
    Option and toggle for showing duration for query, defaults to show
    duration
    Option and Toggle for showing curl cmd used for query, defaults to off
    because the output has a "--" in it that technically isn't allowed in
    xml
    Minor other changes
  7. silence :%s/></... line when the output is empty

    authored committed
  8. Initial revision

    authored committed
    quick plugin to map \B to run an file contents as an XQuery in MarkLogic
    xq.xqy must be setup (see comments for file contents) as an http app so
    that it will evaluate from a POST request.  See file comments for more
    information
Something went wrong with that request. Please try again.