Simple TODO list plugin for Vim, inspired by Workflowy.com
It started with a tweet
Here's what was "attached":
# vi: fen foldmethod=indent :
* lol
* lol
* wat
* wut
+--- 2 lines: * wee ------------------------------------------------------
* meh
* ouch
Then I started hacking on a little plugin-ish thing and came up with workflowish
By defining a simple syntax in Vim and using brilliant folding capabilities workflowish can simulate 99% of Workflowy's features.
zoom/focus
mode
zq
to focus on current item / toggle offzp
move focus to parent itemza
toggles folding. See Vim wiki: Folding\
in the beginning of the line to start a comment)*
-
.wofl
file or after :set ft=workflowish
, run :call workflowish#convert_from_workflowy()
to convert the whole bufferThanks to the long running tradition, workflowish files have .wofl
extension.
New to Pathogen? It's easy. You "install a plugin" by putting its files in a directory. i.e.
cd ~/.vim/bundle && git clone https://github.com/lukaszkorecki/workflowish
but please, read the Pathogen README.)
This is not necessary for most users, but if you're a perfectionist you can do it. Add this to your .vimrc to fix an edge-case with folding single-items:
autocmd BufWinLeave *.wofl mkview
autocmd BufWinEnter *.wofl silent loadview
MIT (c) Workflowish Team
15 Jimmie Elvenmark 10 Łukasz Korecki 4 hangtwentyy