Commit 47da92bd authored by Juri Linkov's avatar Juri Linkov

Add more aliases switch-to-tab, previous-tab, next-tab

parent 7edb9545
...@@ -1896,9 +1896,12 @@ New tab-based keybindings (similar to frame-based): ...@@ -1896,9 +1896,12 @@ New tab-based keybindings (similar to frame-based):
Also it's possible to switch named persistent window configurations Also it's possible to switch named persistent window configurations
without having graphical access to the tab-bar, even on a tty without having graphical access to the tab-bar, even on a tty
or when 'tab-bar-mode' is disabled, with these commands: or when 'tab-bar-mode' is disabled, with these commands:
'list-tabs' displays a list of named window configurations for switching;
'make-tab' creates a new window configuration; 'make-tab' creates a new window configuration;
'delete-tab' deletes the current window configuration; 'delete-tab' deletes the current window configuration;
'list-tabs' displays a list of named window configurations. 'switch-to-tab' switches to the window configuration by its name;
'previous-tab' switches to the previous window configuration;
'next-tab' switches to the next window configuration.
** 'global-tab-line-mode' enables the tab-line above each window to ** 'global-tab-line-mode' enables the tab-line above each window to
switch buffers in it to previous/next buffers. Selecting a previous switch buffers in it to previous/next buffers. Selecting a previous
......
...@@ -377,6 +377,9 @@ specified by `tab-bar-close-tab-select'." ...@@ -377,6 +377,9 @@ specified by `tab-bar-close-tab-select'."
(message "Deleted the current tab"))) (message "Deleted the current tab")))
(defalias 'list-tabs 'tab-bar-list) (defalias 'list-tabs 'tab-bar-list)
(defalias 'switch-to-tab 'tab-bar-select-tab)
(defalias 'previous-tab 'tab-bar-switch-to-prev-tab)
(defalias 'next-tab 'tab-bar-switch-to-next-tab)
(defun tab-bar-list () (defun tab-bar-list ()
"Display a list of named window configurations. "Display a list of named window configurations.
......
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