Add shortcut key to multi-web-mode.

This commit is contained in:
kj 2022-08-07 13:14:41 -04:00
parent 5a2f94bc32
commit 3f7fc4ec29
2 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,6 @@
(use-package multi-web-mode (use-package multi-web-mode
:straight t :straight t
:defer t :defer t
:hook (after-init . multi-web-global-mode)
:config :config
(setq mweb-default-major-mode 'html-mode) (setq mweb-default-major-mode 'html-mode)
(setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>") (setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>")

View File

@ -26,6 +26,7 @@
(global-set-key (kbd "C-x mj") 'js-mode) (global-set-key (kbd "C-x mj") 'js-mode)
(global-set-key (kbd "C-x mp") 'php-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 mr") 'rust-mode)
(global-set-key (kbd "C-x mw") 'multi-web-mode)
;; Atajos de windmove ;; Atajos de windmove
(global-set-key (kbd "C-x <left>") 'windmove-left) (global-set-key (kbd "C-x <left>") 'windmove-left)