# todoke default config.
# Lives at ~/.config/todoke/todoke.toml on every platform.
# Values in double-braces are Tera template expressions.
[]
# user-defined vars go here, e.g.:
# proj_root = "/home/you/src"
# kind = "neovim" opts into msgpack-RPC reuse of a running nvim on `listen`.
# is_windows()/is_linux()/is_mac() are todoke-provided Tera functions.
[]
= "neovim"
= "nvim"
= '{% if is_windows() %}\\.\pipe\nvim-todoke-{{ group }}{% else %}/tmp/nvim-todoke-{{ group }}.sock{% endif %}'
# git commit, rebase todo, merge messages etc. — always a fresh nvim, block
# until it exits so callers like `git commit` see the result.
[[]]
= "editor-callback"
= '(?i)/(COMMIT_EDITMSG|MERGE_MSG|TAG_EDITMSG|EDIT_DESCRIPTION|git-rebase-todo|\.gitmessage|NOTES_EDITMSG|svn-commit\.tmp)$'
= "nvim"
= "new"
= true
# Everything else: reuse a single long-running nvim called "default".
[[]]
= "default"
= '.*'
= "nvim"
= "default"
= "remote"
= false