summaryrefslogtreecommitdiff
path: root/helm-types.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2019-10-04 08:08:21 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2019-10-04 08:08:21 +0200
commit884cbe97dc587c0e38680bbe3279b4cf0bbc82bc (patch)
tree94faa7c572f5df598738c606685719fbd9e789c1 /helm-types.el
parent0880c77456bc631098b40a6250d9edc17b6df7b3 (diff)
Add action to switch to buffer in new tab (emacs 27 only)
* helm-buffers.el (helm-buffer-map): Bind it. (helm-buffers-switch-to-buffer-new-tab): New command. * helm-types.el (helm-type-buffer-actions): Add new action.
Diffstat (limited to 'helm-types.el')
-rw-r--r--helm-types.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/helm-types.el b/helm-types.el
index 3d751ebf..868e7974 100644
--- a/helm-types.el
+++ b/helm-types.el
@@ -167,6 +167,9 @@
'helm-buffer-switch-buffers-other-window
"Switch to buffer other frame `C-c C-o'"
'switch-to-buffer-other-frame
+ (lambda () (and (fboundp 'tab-bar-mode)
+ "Switch to buffer other tab `C-c C-t'"))
+ 'switch-to-buffer-other-tab
"Browse project `C-x C-d'"
'helm-buffers-browse-project
"Query replace regexp `C-M-%'"