-
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.
Task config:
[task1]
...
silent=1
notify=echo-
silent=1: quickfix window will not open automatically no matter g:asyncrun_open is set or not. -
notify=echo: display a notification in the command line when task finished.
Task config:
[task1]
...
output=terminal
pos=tab
focus=0
notify=echo-
output=terminal: use internal terminal. -
pos=tab: open internal terminal in a new tab. -
focus=0: prevent tab switching, you will remain in your last actived tab when task starts. -
notify=echo: display a notification when task finished.
Task config:
[task1]
...
output=terminal
pos=hide
notify=echo-
output=terminal: run in a terminal -
pos=hide: hide the terminal completely, task will run in background. -
notify=echo: notify you when task finished.