Skip to content

Afoucaul/nvim-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-todo

User interface to todo.txt files. For convenience, this works with files matching *.todo.

Screenshot

Features

  • Parse text lines respecting todo.txt format
  • Smart ordering: higher-priority stuff first, done stuff last
  • Smart highlighting: higher-priority in red, done in dark gray
  • Mark/unmark as done with <cr> (return)
  • Auto date completion on item creation

Installation

Install sly for python (used to parse todo lines):

pip3 install sly

Add the following to your neovim config file (eg: ~/.config/nvim/init.vim):

Plug 'Afoucaul/nvim-todo', {'do': ':UpdateRemotePlugins'}

Then you can add this to your shell config file (eg: ~/.bashrc or ~/.zshrc):

alias todo='nvim ~/.todo'`

TODO

  • Include sly into installation
  • Implement filtering
  • Insert creation date upon <cr> in insert mode