[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41691: [PATCH] Add bookmark-jump-other-tab
From: |
Juri Linkov |
Subject: |
bug#41691: [PATCH] Add bookmark-jump-other-tab |
Date: |
Thu, 04 Jun 2020 02:00:32 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> Personally I hope that every "-other-window" command doesn't get an
> "-other-tab" counterpart (to go along with "-other-frame"), but rather
> that a single systematic method is developed, like the elpa.gnu.org
> package other-frame-window. Ref eg
>
> https://lists.gnu.org/r/emacs-devel/2019-10/msg00261.html
>
> (AFAICS nothing has been implemented)
Actually, this is already implemented, but without an obvious keybinding.
This small patch binds a general command to 'C-x t t' (or maybe a better
key would be 'C-x t w').
Then after typing 'C-x t t' as a prefix key sequence,
the next command will display its buffer in a new tab:
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index 76e7f8c33a..529f5e5e4b 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -1585,6 +1585,7 @@ tab-prefix-map
(define-key tab-prefix-map "b" 'switch-to-buffer-other-tab)
(define-key tab-prefix-map "f" 'find-file-other-tab)
(define-key tab-prefix-map "\C-f" 'find-file-other-tab)
+(define-key tab-prefix-map "t" 'windmove-display-new-tab)
(provide 'tab-bar)
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Javier Olaechea, 2020/06/03
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Glenn Morris, 2020/06/03
- bug#41691: [PATCH] Add bookmark-jump-other-tab,
Juri Linkov <=
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Juri Linkov, 2020/06/10
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Juri Linkov, 2020/06/21
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Eli Zaretskii, 2020/06/22
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Juri Linkov, 2020/06/28
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Eli Zaretskii, 2020/06/29
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Juri Linkov, 2020/06/29
- bug#41691: [PATCH] Add bookmark-jump-other-tab, Juri Linkov, 2020/06/30