An open API service indexing awesome lists of open source software.

https://github.com/pablopunk/todo.nvim

Project-specific notes for neovim
https://github.com/pablopunk/todo.nvim

Last synced: 11 months ago
JSON representation

Project-specific notes for neovim

Awesome Lists containing this project

README

          

# todo.nvim

> Project-specific notes

![screencast](./screencast.gif)

This plugin opens a floating window to write quick notes/todo list for your project.
If you're not on a repo, it wil keep a global file for notes in your home folder.

## Features

- Toggle a floating window with `:TodoToggle`
- Project-aware
- Automatically create a `.git/.TODO.md` file in the nearest parent repo
- Automatically create a `~/.TODO.md` file if you're not in a repo
- Different ways of closing the window:
- Use `:TodoToggle`
- Use `esc`
- Use `q`
- Use ``
- Automatically save the file when you close the floating window
- Markdown syntax

## Installation

For example using `lazy.nvim`:

```lua
{
"pablopunk/todo.nvim",
config = true, -- initialize it. equivalent to require("todo").setup() in lazy.vim
}
```

## Usage

It will give you a new command `:TodoToggle` to open/close the `.TODO.md` file. You can map it to whatever you want. I map it to `t`:

```lua
{
"pablopunk/todo.nvim",
opts = { map = "t" } -- same as .setup({...})
}
```