1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-07 16:10:46 -08:00

* lisp/tab-bar.el (tab-bar-history-mode-map): New defvar-keymap.

This commit is contained in:
Juri Linkov 2021-12-27 20:54:18 +02:00
parent 4ab5b89de8
commit 65cd66c7d7
2 changed files with 9 additions and 0 deletions

View file

@ -248,6 +248,11 @@ height use 'window-height' in combination with 'body-lines'.
---
*** 'C-x t RET' creates a new tab when the provided tab name doesn't exist.
---
*** New keymap 'tab-bar-history-mode-map'.
By default, it contains 'C-c <left>' and 'C-c <right>' to browse
the history of tab window configurations back and forward.
** Better detection of text suspiciously reordered on display.
The function 'bidi-find-overridden-directionality' has been extended
to detect reordering effects produced by embeddings and isolates

View file

@ -1884,6 +1884,10 @@ This navigates forward in the history of window configurations."
(goto-char wc-point)))
(message "No more tab forward history"))))
(defvar-keymap tab-bar-history-mode-map
"C-c <left>" #'tab-bar-history-back
"C-c <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,