• Stars
    star
    160
  • Rank 229,748 (Top 5 %)
  • Language
    JavaScript
  • Created about 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A todoist extension for neovim

todoist.nvim

A hopefully usable todoist extension for neovim

alt text

For integration with vim-clap (fuzzy finder) see below.

Install

Find your API key here: https://todoist.com/prefs/integrations

For security reasons, it is recommended to use pass to store it:

$ pass insert Todoist/API
Enter password for Todoist/API: XXXXXXXXX

Export it in your ~/.config/environment.d/*.conf/~/.profile/~/.bashrc

export TODOIST_API_KEY="$(pass Todoist/API)"
Plug 'romgrk/todoist.nvim', { 'do': ':TodoistInstall' }

If you don't use vim-plug, run the TodoistInstall command manually to complete the installation.

Requirements

  • neovim 0.4.0
  • nodejs 10.0.0
  • npm install -g neovim@latest (NOTE: needs to be at v4.9.0 at least!)

Make sure your nodejs provider works (:checkhealth to confirm).

Usage

:Todoist [project_name] (default: Inbox. Creates project if it doesn't exist)

Mappings

Keys Effect
x Toggle current task completion
cc Change current task text
cd Change current task date (date formats)
p1 Make task Priority 1
p2 Make task Priority 2
p3 Make task Priority 3
p4 Make task Priority 4
DD Delete current task
O Add new task before
o Add new task after
< Unindent
> Indent
r Refresh
pcc Change current project color
pcn Change current project name
pdd Archive current project premium users only :/
pDD Delete current project

Options

Below are the default options:

let todoist = {
\  'icons': {
\    'unchecked': ' [ ] ',
\    'checked':   ' [x] ',
\    'loading':   ' […] ',
\    'error':     ' [!] ',
\  },
\  'defaultProject': 'Inbox',
\  'useMarkdownSyntax': v:true,
\}

If you have a NerdFont installed, you can use the icons below, that will render like in the gif above.

let todoist = {
\ 'icons': {
\   'unchecked': '  ',
\   'checked':   '  ',
\   'loading':   '  ',
\   'error':     '  ',
\ },
\}

Integration with Clap

This plugin implements a vim-clap provider for selecting your projects.

Clap todoist

alt text

More Repositories

1

barbar.nvim

The neovim tabline plugin.
Lua
2,152
star
2

node-gtk

GTK+ bindings for NodeJS (via GObject introspection)
C++
479
star
3

web-toolkit

A web UI framework based on GTK's Adwaita theme
JavaScript
203
star
4

kui.nvim

UI neovim framework for kitty
C
180
star
5

kirby.nvim

Fuzzy picker for neovim - using kitty graphics protocol
Lua
140
star
6

fzy-lua-native

Luajit FFI bindings to FZY
Lua
117
star
7

doom-one.vim

A dark colorschme for vim, ported from doom-emacs' doom-one theme.
Vim Script
104
star
8

winteract.vim

Interactive window mode
Vim Script
69
star
9

react-fast-memo

A faster React.memo()
JavaScript
50
star
10

github-light.vim

Github colorscheme for vim
Vim Script
36
star
11

nvim

local rc files - feel free to explore
Vim Script
35
star
12

termrk

Terminal for atom, using pty.js & term.js
CoffeeScript
33
star
13

xedel

Keyboard-centric modal code editor, built with nodejs and GTK
JavaScript
26
star
14

2d-geometry

Performant & ergonomic 2D geometry in Typescript
TypeScript
26
star
15

searchReplace.vim

Search & Replace, simply & efficiently [neovim only]
Vim Script
26
star
16

lister

An experimental Gtk-based fuzzy-finder (with support for neovim)
JavaScript
22
star
17

node-todoist

nodejs implementation of todoist sync API
TypeScript
21
star
18

replace.vim

Replace operator for Vim
Vim Script
20
star
19

equal.operator

A text-object for LHS/RHS of assignment.
Vim Script
16
star
20

react-drop-zone

Simple, elegant & efficient drop-zone component
JavaScript
16
star
21

vim-exeline

Execute a command on save
Vim Script
11
star
22

node-gtk-template

A node-gtk application template
JavaScript
10
star
23

pp.vim

pretty-printer with real colors.
Vim Script
8
star
24

kui-demo.nvim

kui.nvim demo
Lua
8
star
25

babel-plugin-fast-jsx

Inline react jsx calls
JavaScript
8
star
26

solid-base-components

Barely styled components for solidjs.
TypeScript
7
star
27

tree-sitter.vim

JavaScript
5
star
28

node-loompy

Create loompy files with Nodejs
JavaScript
5
star
29

blog-romgrk

MDX
5
star
30

yama-neovim

JavaScript
4
star
31

pencil

High performance & low bundle size 2D canvas drawing library
TypeScript
4
star
32

tree-sitter-grain

C
4
star
33

lib.kom

Vim short#() libraries for scripting - hi#(), win#(), buf#(), color#()
Vim Script
4
star
34

pxm

Long-running background commands runner
TypeScript
3
star
35

wasm-js

A webassembly javascript interpreter
JavaScript
3
star
36

bioinformatics-parser

Simple nodejs fasta/fastq parser
JavaScript
2
star
37

kyntell.vim

dark colorscheme
Vim Script
2
star
38

keykit

npm module for keyevents etc.
CoffeeScript
2
star
39

git-config

JavaScript
1
star
40

node-fzy

Native fzy binding for nodejs
C
1
star
41

pg_fzy

The fzy function for PostgreSQL
C
1
star
42

ol-resources

Functions & examples for OL related stuff
JavaScript
1
star
43

physic_engine

basic java 2D physic simulation engine
Java
1
star
44

columnMove.vim

Move along the vertical axis
Vim Script
1
star
45

pepiniere

Simple PWA that tracks time spent on tasks
JavaScript
1
star
46

zsh

Shell
1
star
47

coffee-nvim

coffeescript host & lib for scripting neovim
CoffeeScript
1
star
48

sqlite-objects

Usable wrappers around SQLite
JavaScript
1
star
49

cv-generator

TypeScript
1
star
50

edcc

JavaScript
1
star
51

dotfiles

Shell
1
star