Fix #5176: don't prompt on gt/gT (tab switch)
This commit is contained in:
parent
57026c4b70
commit
1a96f5b002
1 changed files with 4 additions and 4 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue