From 3f7fc4ec293bb64f65f3883cd22ab3a49ad98f6a Mon Sep 17 00:00:00 2001 From: kj Date: Sun, 7 Aug 2022 13:14:41 -0400 Subject: [PATCH] Add shortcut key to multi-web-mode. --- configs/base-extensions.el | 1 - configs/base-keys.el | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/base-extensions.el b/configs/base-extensions.el index 354bf00..e8c206d 100644 --- a/configs/base-extensions.el +++ b/configs/base-extensions.el @@ -295,7 +295,6 @@ (use-package multi-web-mode :straight t :defer t - :hook (after-init . multi-web-global-mode) :config (setq mweb-default-major-mode 'html-mode) (setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>") diff --git a/configs/base-keys.el b/configs/base-keys.el index 4395f22..05e6189 100644 --- a/configs/base-keys.el +++ b/configs/base-keys.el @@ -26,6 +26,7 @@ (global-set-key (kbd "C-x mj") 'js-mode) (global-set-key (kbd "C-x mp") 'php-mode) (global-set-key (kbd "C-x mr") 'rust-mode) +(global-set-key (kbd "C-x mw") 'multi-web-mode) ;; Atajos de windmove (global-set-key (kbd "C-x ") 'windmove-left)