summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2024-09-17 10:23:53 +0800
committernoa2024-09-17 10:23:53 +0800
commit492aa95a0988f5c1d42d26f123255b72b5a89d9d (patch)
tree458add659b810b885e6aac9eacb118571c8d6a33
parente3c42479dbeb5946070187f7714b1f48c12e84b8 (diff)
Unbind execute-extended-command from <menu>
-rw-r--r--emacs/init.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/emacs/init.el b/emacs/init.el
index e41dcf9..eb1369c 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -43,12 +43,6 @@
   (define-key isearch-mode-map (kbd "C-v") 'isearch-yank-kill)
   (define-key isearch-mode-map (kbd "M-d") 'isearch-delete-char))
 
-;;; Executing commands
-;;I make my caps lock a menu key, so i can open the command palette with it:
-
-(define-key context-menu-mode-map (kbd "<menu>") nil)
-(global-set-key (kbd "<menu>") 'execute-extended-command)
-
 ;; It is often useful to be able to run a command while i am already in the process of running a command in the minibuffer.  This is rarely two extended commands; usually it is completion.
 (setopt minibuffer-depth-indicate-mode t)