There are existing terminal GTD tools such as OrgMode. However, they are too versatile and I want a simplistic version with Vim. My goal could be decomposed into several aspects.
- Hotkeys to quickly collect tasks information in distributed files and prompt a digest.
- Tasks are classified with different types: urgent, main, habit, and random.
- Hotkeys to quickly tag a task item with the desired type.
Since I could not find any existing plugins that suit exactly my need, I decided to make it myself.
To achieve goal 1, one could simply leverage
vimgrep to search the unique meta data of the task and
noremap to attach preferred key bindings to the operation.
These commands will allow me to quickly track the tasks of different categories with a inforwindow. (j is to forbid jumping to the first occurence and :cw is to directly jump to the quickfix window)
Simlilarly, one could add the following lines to
.vimrc to support instant tagging.
Now, inside Vim editor, one could just type the hotkeys to overview the target type of tasks.
:cclose will clost the quickfix window without the need of navigation.
:cp will navigate automatically to the next/previous task.
PS: I have abandoned Vim as the time/task management tool. It is much more convenient to use the Mac Calendar!