Add repeat map for tab-bar-history (bug#78804)
Add repeat map similar to that of winner-mode (to which tab-bar-history is an alternative). * lisp/tab-bar.el (tab-bar-history-repeat-map): Make the change.
This commit is contained in:
parent
477112ebc3
commit
a4ca0cd7f0
1 changed files with 7 additions and 0 deletions
|
|
@ -2528,6 +2528,13 @@ This navigates forward in the history of window configurations."
|
|||
"C-c <left>" #'tab-bar-history-back
|
||||
"C-c <right>" #'tab-bar-history-forward)
|
||||
|
||||
(defvar-keymap tab-bar-history-repeat-map
|
||||
:doc "Keymap to repeat tab-bar-history key sequences.
|
||||
Used in `repeat-mode'."
|
||||
:repeat t
|
||||
"<left>" #'tab-bar-history-back
|
||||
"<right>" #'tab-bar-history-forward)
|
||||
|
||||
(define-minor-mode tab-bar-history-mode
|
||||
"Toggle tab history mode for the tab bar.
|
||||
Tab history mode remembers window configurations used in every tab,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue