Skip to content
Quarryv1.4

    Start free
    Documentation menu

    Editor plugins

    Search Quarry's index from VS Code or Neovim without leaving the editor.

    Quarry publishes editor plugins for VS Code and Neovim that search the index from inside the editor, using the same HTTP endpoint the app itself would call.

    Requirements

    1. A Pro or Team license, entered in the settings file under [license].
    2. The daemon running with [serve] enabled, or started with quarry daemon --serve.
    3. The editor plugin installed and pointed at the correct port, 7433 by default.

    VS Code

    Install Quarry Search from the VS Code marketplace. Open the command palette and run Quarry: Search, or use the default keybinding, Cmd+Shift+F9 on macOS, Ctrl+Shift+F9 on Linux.

    The plugin reads the port from a local setting rather than the daemon directly:

    .vscode/settings.json
    {
      "quarry.port": 7433,
      "quarry.defaultIndex": "site-code"
    }

    quarry.defaultIndex is optional. Leaving it unset searches across every index the daemon knows about, same as omitting index from a raw request to the endpoint.

    Neovim

    The Neovim plugin ships as a Lua module, installed with any standard plugin manager:

    {
      "quarry-dev/quarry.nvim",
      opts = {
        port = 7433,
        default_index = "notes",
      },
    }

    It exposes a :QuarrySearch command and a Lua function for wiring into a fuzzy finder:

    require("quarry").search("invoice AND ext:md", { limit = 20 })

    The query string follows the same grammar as the CLI; see Query syntax for the full set of operators and field filters.

    Confirming the connection

    Both plugins fail quietly if the daemon is not reachable, showing a status line message rather than an error popup. Confirm the endpoint is answering directly before troubleshooting plugin configuration:

    curl '127.0.0.1:7433/search?q=test&limit=1'

    If this returns JSON, the daemon and endpoint are fine and the issue is in the plugin’s port or index setting. If it fails to connect, check quarry status and confirm [serve].enabled is true in the settings file.

    Edit this page

    Last updated Aug 25, 2026