-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I'm hoping to write a function to allow me to redefine evil-quit
in Evil mode so that when I type :q
it does the following:
- Close current window if more than one window
- Close current centaur tab if more than one tab in current tab set
- Quit emacs if only one window/one tab
To do this, I need some way to call centaur-tabs-buffer-close-tab
, but I'm not sure how to get the currently active tab to pass along - I noticed that centaur-tabs-do-close
only responds to a mouse event. Is there a way to replicate that behavior programatically without the mouse?
Metadata
Metadata
Assignees
Labels
No labels