mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-20 01:03:06 +02:00
commands: Add TaskWikiBufferSave and TaskWikiBufferLoad commands
This commit is contained in:
parent
ff69d61489
commit
86d2e60e20
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ augroup taskwiki
|
||||||
execute "autocmd BufWrite *.".expand('%:e')." py WholeBuffer.update_to_tw()"
|
execute "autocmd BufWrite *.".expand('%:e')." py WholeBuffer.update_to_tw()"
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
" Global update commands
|
||||||
|
command! -nargs=* TaskWikiBufferSave :py WholeBuffer.update_to_tw()
|
||||||
|
command! -nargs=* TaskWikiBufferLoad :py WholeBuffer.update_from_tw()
|
||||||
|
|
||||||
" Split reports commands
|
" Split reports commands
|
||||||
command! -nargs=* TaskWikiProjects :py SplitProjects(<q-args>).execute()
|
command! -nargs=* TaskWikiProjects :py SplitProjects(<q-args>).execute()
|
||||||
command! -nargs=* TaskWikiProjectsSummary :py SplitSummary(<q-args>).execute()
|
command! -nargs=* TaskWikiProjectsSummary :py SplitSummary(<q-args>).execute()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue