Skip to content

Repository files navigation

🎫 tickets.nvim

Manage your tasks and view GitHub issues directly within Neovim.

CI License: MIT Docs

DocumentationFeaturesInstallationUsage


📖 Documentation

For detailed information on installation, configuration, and advanced usage, check out the Official Documentation.


📋 Table of Contents

✨ Features

tickets.nvim is designed to keep you in the flow by integrating task management and issue tracking directly into your editor.

📝 Local Task Management

  • Instant Access: Open your project's TODO.md in a centered floating window with :Tickets.
  • Context Aware: Keeps your task list attached to your current project context.
  • Data Safety: Prevents accidental closing of unsaved buffers.

😺 GitHub Integration

  • Auto-Detection: Automatically detects the repository from your git remote.
  • Issue Browser: View open issues with :TicketsGithubFetch.
  • Deep Dive: Press <Enter> on an issue to view the full description, metadata, and comments.
  • Performance: Smart in-memory caching for instant subsequent loads.
  • GitHub CLI: Requires the gh CLI for GitHub features (gh auth login).

📦 Installation

Install with your favorite package manager.

{
  "marvinhauke/tickets.nvim",
  dependencies = { "nvim-lua/plenary.nvim" },
  config = true, -- Runs require("tickets").setup()
}

🚀 Usage

Command Description
:Tickets Open or create the local TODO.md file in a floating window.
:TicketsGithubFetch Fetch and list issues for the current repository (uses cache if available).
:TicketsGithubRefresh Force fetch issues from GitHub, updating the cache.
:TicketsCacheClear Clear the issue cache for the current or specified repository.
:TicketsCacheStats Display statistics about the current issue cache.

⚙️ Configuration

Get started with the default configuration:

require("tickets").setup({
  width_pct = 0.8,
  height_pct = 0.8,
  target_file = "TODO.md",
  storage_path = vim.fn.stdpath("data") .. "/tickets/cache.json",
})

For a comprehensive list of options, see the Configuration Guide.

🤝 Contributing

Contributions are welcome! Please check the Contributing Guide for details on how to get started.

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages