home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit cbd8d2d8b537a86d8a7437fbbc9cdca370cb5303
parent 13632ec71e35d2e1cf63a78f2ad8fdc464e0908d
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 11 Aug 2021 15:06:25 +0200

tools/emacs: rename tab-bar completion

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-appearance.el | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/emacs/config/config-appearance.el b/tools/emacs/config/config-appearance.el @@ -123,7 +123,7 @@ Ignores `ARGS'." (projectile-project-name))) (t (tab-bar-tab-name-current-with-count)))) - (defun vde/icomplete-tab-bar-tab-dwim () + (defun vde/complete-tab-bar-tab-dwim () "Do-What-I-Mean function for getting to a `tab-bar-mode' tab. If no other tab exists, create one and switch to it. If there is one other tab (so two in total) switch to it without further @@ -140,7 +140,7 @@ questions. Else use completion to select the tab to switch to." (tab-bar-switch-to-tab (completing-read "Select tab: " tabs nil t)))))) - :bind (("C-x t t" . vde/icomplete-tab-bar-tab-dwim) + :bind (("C-x t t" . vde/complete-tab-bar-tab-dwim) ("C-x t s" . tab-switcher))) (use-package moody