Variable: tab-bar-define-keys

tab-bar-define-keys is a customizable variable defined in tab-bar.el.gz.

Value

t

Documentation

Define specified tab-bar key bindings.

If t, the default, all key mappings are defined.

If 'numeric, define only numeric select-tab key mappings, and in conjunction with tab-bar-select-tab-modifiers, which see.

If 'tab, define only TAB and SHIFT-TAB tab-selection key mappings.

If nil, do not define any key mappings.

This variable was added, or its default value changed, in Emacs 31.1.

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defcustom tab-bar-define-keys t
  "Define specified tab-bar key bindings.
If t, the default, all key mappings are defined.

If \\='numeric, define only numeric select-tab key mappings, and in
conjunction with `tab-bar-select-tab-modifiers', which see.

If \\='tab, define only TAB and SHIFT-TAB tab-selection key mappings.

If nil, do not define any key mappings."
  :type '(choice (const :tag "All keys" t)
                 (const :tag "Numeric tab selection keys" numeric)
                 (const :tag "TAB and SHIFT-TAB selection keys" tab)
                 (const :tag "None" nil))
  :initialize #'custom-initialize-default
  :set (lambda (sym val)
         (tab-bar--undefine-keys)
         (set-default sym val)
         ;; Enable the new keybindings
         (tab-bar--define-keys))
  :group 'tab-bar
  :version "31.1")