Variable: tab-bar-new-tab-to
tab-bar-new-tab-to is a customizable variable defined in
tab-bar.el.gz.
Value
right
Documentation
Where to create a new tab.
If leftmost, create as the first tab.
If left, create to the left of the current tab.
If right, create to the right of the current tab.
If rightmost, create as the last tab.
If the value is a function, it should return a number as a position
on the tab bar specifying where to add a new tab.
This variable was added, or its default value changed, in Emacs 27.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defcustom tab-bar-new-tab-to 'right
"Where to create a new tab.
If `leftmost', create as the first tab.
If `left', create to the left of the current tab.
If `right', create to the right of the current tab.
If `rightmost', create as the last tab.
If the value is a function, it should return a number as a position
on the tab bar specifying where to add a new tab."
:type '(choice (const :tag "Add as First" leftmost)
(const :tag "Add to Left" left)
(const :tag "Add to Right" right)
(const :tag "Add as Last" rightmost)
(function :tag "Function"))
:group 'tab-bar
:version "27.1")