Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Automatically open panel when command start running. #318

Closed
1 task done
scippio opened this issue Jun 20, 2024 · 3 comments
Closed
1 task done
Labels
enhancement New feature or request

Comments

@scippio
Copy link

scippio commented Jun 20, 2024

Did you check existing requests?

  • I have searched the existing issues

Describe the feature

Automatically open panel when command start running.

Provide background

No response

What is the significance of this feature?

nice to have

Additional details

No response

@scippio scippio added the enhancement New feature or request label Jun 20, 2024
@stevearc
Copy link
Owner

You should add the open_output component to your task; that will open the Overseer panel when the task starts. You can put it in the default list of components added to all tasks, or use add_template_hook to add it to certain tasks, or manually add it after creating but before starting the task

@scippio
Copy link
Author

scippio commented Jun 25, 2024

Sorry the documentation is not so clear (and my issue too)... I just want to open task list on the right after task started...

@nishantpillai5
Copy link

nishantpillai5 commented Sep 11, 2024

This template hook should open the task list whenever any task is started

  require('overseer').add_template_hook({ name = '.*' }, function(_, _)
    vim.cmd 'OverseerOpen'
  end)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants