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

Provide a hook to start and stop the tabby server with the agent #11

Open
Cadair opened this issue May 15, 2024 · 1 comment
Open

Provide a hook to start and stop the tabby server with the agent #11

Cadair opened this issue May 15, 2024 · 1 comment

Comments

@Cadair
Copy link

Cadair commented May 15, 2024

Thanks for the package it seems to work well.

I would like to be able to start and stop the tabby server when it's in use to save me some RAM, is there a way I can configure this package to run a command to do that?

Thanks!

@alan-w-255
Copy link
Owner

(add-hook 'tabby-mode-hook '(lambda ()
                              (if tabby-mode
                                  (message "Tabby mode is on")
                                (message "Tabby mode is off"))))

Does the tabby-mode-hook meet your needs?

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

No branches or pull requests

2 participants