Arroon / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

Really nice but advanced addition - TaskList #91

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
A really nice enhancement would be a tool similar to the Tasklist plugin 
of this guy here: 
http://juan.axisym3.net/vim-plugins/#tasklist.

But with the addition that all, wiki pages are searched and the result is 
given as a list (as originally implemented), or directly into a new 
wikipage called TaskList which is updated anytime you search for open 
tasks.

With this addon you can keep all your open tasks in a very handy way, even 
if they are entered in different wiki pages.

Original issue reported on code.google.com by jakob.ga...@gmail.com on 21 May 2010 at 7:52

GoogleCodeExporter commented 8 years ago
I would go for :VimwikiTaskList command that searches all wikies for open tasks 
and 
populates location-list (:h location-list or quickfix list) so they can be 
easily 
opened.

Original comment by habamax on 21 May 2010 at 9:21

GoogleCodeExporter commented 8 years ago
Yeah, such a command will be really useful! But I still would enable the 
possibility 
to create a special wiki page with all the TODO ([]) items. This, would be 
especially useful when accessed in the html state!

Original comment by jakob.ga...@gmail.com on 25 May 2010 at 7:22

GoogleCodeExporter commented 8 years ago
Here is what I do:

`
" list all open tasks in quickfix window
:nnoremap <leader>jl :vimgrep /\v^* \[ \] /gj ~/vimwiki/*.wiki <CR> :cope <CR>

" list open tasks with TODAY tag
:nnoremap <leader>jt :vimgrep /\v^* \[ \] .*TODAY/gj ~/vimwiki/*.wiki <CR> 
:cope <CR>

" mark job as TODAY
" - need to be in quickfix window;
" - jump to entry;
" - append TODAY at the end of the line;
" - jump back to quickfix window (qf not updated) but same position
:nnoremap <leader>jj <CR> A TODAY<esc>:w<CR> :cope<CR>

" mark job as done: 
" - need to be in quickfix window;
" - jump to entry;
" - mark as done;
" - jump back to quickfix window (qf not updated) but same position
:nnoremap <leader>jd <CR> :VimwikiToggleListItem<CR>:w<CR>:cope<CR>
`

If you are planning to integrate this feature I'd be more than happy to help.

Original comment by stefan.o...@gmail.com on 5 Dec 2010 at 2:07