Commit 7edb9545 authored by Juri Linkov's avatar Juri Linkov

Non-graphical access to frame-local tabs (named window configurations)

* lisp/tab-bar.el (make-tab, delete-tab, tab-bar-list)
(tab-bar-list-next-line, tab-bar-list-prev-line)
(tab-bar-list-unmark, tab-bar-list-backup-unmark)
(tab-bar-list-delete, tab-bar-list-delete-backwards)
(tab-bar-list-execute, tab-bar-list-select)
(tab-bar-list-mouse-select): New commands.
(tab-bar-list-noselect, tab-bar-list-current-tab)
(tab-bar-list-delete-from-list): New functions.
(tab-bar-list-column): New defvar.
parent 3e0ad29a
......@@ -1887,11 +1887,19 @@ good replacement, even in very large source files.
to switch named persistent window configurations in it using tabs.
New tab-based keybindings (similar to frame-based):
'C-x 6 2' creates a new tab;
'C-x 6 0' deletes the current tab;
'C-x 6 b' switches to buffer in another tab;
'C-x 6 f' and 'C-x 6 C-f' edit file in another tab;
'C-TAB' switches to the next tab;
'S-C-TAB' switches to the previous tab.
Also it's possible to switch named persistent window configurations
without having graphical access to the tab-bar, even on a tty
or when 'tab-bar-mode' is disabled, with these commands:
'make-tab' creates a new window configuration;
'delete-tab' deletes the current window configuration;
'list-tabs' displays a list of named window configurations.
** 'global-tab-line-mode' enables the tab-line above each window to
switch buffers in it to previous/next buffers. Selecting a previous
window-local tab is the same as running 'C-x <left>' (previous-buffer),
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment