Ecosyste.ms: Awesome

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

https://github.com/arnarg/todotxt.nvim

Neovim plugin to view and add tasks stored in a todo.txt format
https://github.com/arnarg/todotxt.nvim

lua neovim neovim-plugin nvim nvim-plugin todo todotxt

Last synced: 12 days ago
JSON representation

Neovim plugin to view and add tasks stored in a todo.txt format

Lists

README

        

# todotxt.nvim

Neovim plugin to view and add tasks stored in a todo.txt format.

[![asciicast](doc/asciinema.png)](https://asciinema.org/a/DVMyXY3pvUBKNdzu5Ywy9jweE)

## Features

### Sidebar split

Sidebar split to view and manage tasks.

![sidebar](doc/sidebar.png)

### Prompt

Prompt to quickly add new tasks.

![prompt](doc/prompt.png)

## Requirements

- Neovim 0.5.0
- [nui.nvim](https://github.com/MunifTanjim/nui.nvim)

## Installation

With [packer.nvim](https://github.com/wbthomason/packer.nvim):
```lua
use {
'arnarg/todotxt.nvim',
requires = {'MunifTanjim/nui.nvim'},
}
```

## Quickstart

Add the `setup()` function to your init file.

For `init.lua`:
```lua
require('todotxt-nvim').setup({
todo_file = "/path/to/todo.txt",
})
```

For `init.vim`:
```vim
lua <` | Toggles task under cursor as done/not done |
| `m` | Toggle metadata for task |
| `q` | Close sidebar pane |