You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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: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 thatcentaur-tabs-do-close
only responds to a mouse event. Is there a way to replicate that behavior programatically without the mouse?The text was updated successfully, but these errors were encountered: