-
Notifications
You must be signed in to change notification settings - Fork 31
Long Term Task
Linwei edited this page Mar 9, 2020
·
14 revisions
When there are tasks running for hours, here are some tips for you.
[.test-help]
...
notify=echo
And you will receive a notification in your command line when the job finished:
You can prevent quickfix open by:
[xxx]
...
silent=1
If there is a silent=1 in your task, quickfix window will not open automatically no matter g:asyncrun_open is set or not.
Running your task in a new tab terminal can prevent interfering your current window layout:
Enable tab based terminal globally
let g:asynctasks_term_pos = 'tab'
Or enable tab terminal only for special task in the task options:
[xxx]
...
pos=tab
[xxx]
...
pos=tab
focus=0