From b0a4fe3da3485ce65423781fc46da0edd9c619c5 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Mon, 7 Oct 2024 22:54:35 -0400 Subject: [PATCH] fix(emacs): make `:` key equivalent to `M-x` Signed-off-by: Lucas Sta Maria --- .emacs.d/include/misc.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/include/misc.el b/.emacs.d/include/misc.el index df04785..37319fd 100644 --- a/.emacs.d/include/misc.el +++ b/.emacs.d/include/misc.el @@ -55,6 +55,11 @@ (url-copy-file url filepath 1))) ;; meow +(defun meow-mx (arg) + "Press alt + x." + (interactive "P") + (execute-extended-command arg)) + (defun meow-mq () "Reformat/reindent." (interactive) @@ -154,6 +159,7 @@ '("Y" . meow-yank-above) '("z" . meow-pop-selection) '("'" . repeat) + '(":" . meow-mx) '("" . ignore))) (meow-setup)