mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #5176: don't prompt on gt/gT (tab switch)
This commit is contained in:
@ -5,14 +5,14 @@
|
||||
(evil-define-command +tabs:next-or-goto (index)
|
||||
"Switch to the next tab, or to INDEXth tab if a count is given."
|
||||
(interactive "<C>")
|
||||
(if current-prefix-arg
|
||||
(centaur-tabs-select-visible-nth-tab current-prefix-arg)
|
||||
(if index
|
||||
(centaur-tabs-select-visible-nth-tab index)
|
||||
(centaur-tabs-forward)))
|
||||
|
||||
;;;###autoload (autoload '+tabs:previous-or-goto "ui/tabs/autoload" nil t)
|
||||
(evil-define-command +tabs:previous-or-goto (index)
|
||||
"Switch to the previous tab, or to INDEXth tab if a count is given."
|
||||
(interactive "<C>")
|
||||
(if current-prefix-arg
|
||||
(centaur-tabs-select-visible-nth-tab current-prefix-arg)
|
||||
(if index
|
||||
(centaur-tabs-select-visible-nth-tab index)
|
||||
(centaur-tabs-backward)))
|
||||
|
Reference in New Issue
Block a user