Markdown-compilant plain text organizer for vim / neovim.
vorg-md is a collection of vimscript tools that make using markdown as your personal organizer easy and fun.
Looking for the old vorg? Check out the 1.0 branch.
Use -[, +[ or *[ abbreviation to create a bullet point with unchecked checkbox [ ]
Checkboxes can be toggled with cx normal mode mapping, both individually and in groups (visual mode or range).
A section caption text which ends with colon : and contains checkboxes will be folded and show the number of tasks completed and total tasks, for example [ 1 / 2 done ]
# Section:
- [ ] First Priority Task
- [x] Second Priority Task
Any line that starts and ends with a pipe symbol | will be treated as a table row.
Tables feature automated aligning, cell text objects, cell navigation and exporting.
Tables can also be exported with :call VorgmdTableExport into csv, json or html.
Note about exporting: if the second row consists of all columns being fully separators (filled with -) then json will be exported as an array of objects, and html will be exported with first row having <th> instead of <td>. No such separator rows are ever exported
| Person | Phone | Email |
|--------|-------------|----------------|
| Frank | 123 456 789 | frank@mail.com |
| Rob | 555 556 557 | rob@mail.com |
Abbreviations are in place that make inserting dates fun:
ddinserts today's datedtinserts today's datetimednXwill insert the date of the next day of the week X.dn1will insert next monday, whiledn6will insert next saturdaydpXdoes the same asdnX, but into the past.
vorg-md plugin uses dates in format: YYYY-MM-DD HH:II. Time part is optional
The plugin will try to normalize the date and the time part, but it's best to keep this convention.
vorg-md allows you to show an additional window that summarizes the dates in your file. Use ?? normal mode mapping to show the agenda window.
When inside the window, use o or Enter to jump to line containing the scheduled item. Use q to close the window.
Only dates which start or end the line will be taken into account in the agenda window.
-[begin a new task with-bullet point*[begin a new task with*bullet point-[begin a new task with+bullet pointddadd the current datedtadd the current datetimedn1 to dn7add the date of the next closest weekday (monday to sunday)dp1 to dp7add the date of the previous closest weekday (monday to sunday)
cxtoggle a task checkbox (works with count)=force table alignmentTabjump to next table cellShift-Tabjump to previous table cell??show agenda
cxtoggle all checkboxes in lines
icinner table cellacouter table cell
ojump to lineqclose the window
These commands are not bound to a specific keymap
VorgmdTableExport- exports a table under cursor to a prompted format. Currently supported formats are csv, html and json. A new buffer is opened with the export resultVorgmdPandocExport- exports the file usingpandocinto the prompted format. If used in visual mode, exports that part of the file instead. A new buffer is opened with the export result
Works under Vim (version 8+) and Neovim.
Developed by Bartosz Jarzyna https://github.com/bbrtj, licensed under BSD 2-clause. The initial vorg plugin idea by Ithai Levi https://github.com/rlofc