mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
taskwiki: Make taskwiki commands work on ranges
This commit is contained in:
parent
cfde8cc5b8
commit
82223ed2df
3 changed files with 24 additions and 8 deletions
|
@ -7,5 +7,5 @@ augroup taskwiki
|
|||
execute "autocmd BufWrite *.".expand('%:e')." python update_to_tw()"
|
||||
augroup END
|
||||
|
||||
command! TaskWikiInfo :py CurrentTask().info()
|
||||
command! TaskWikiLink :py CurrentTask().link()
|
||||
command! -range TaskWikiInfo :<line1>,<line2>py SelectedTasks().info()
|
||||
command! -range TaskWikiLink :<line1>,<line2>py SelectedTasks().link()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue