Files
.emacs.d/modules/editor/siren-amx.el
Jim Myhrberg ed5432641a feat(keybindings): add cmd+shift+p and cmd+/ keybindings from VSCode
Makes cmd+shift+p open the command palette and cmd+/ toggle comments, as
they do in VSCode.

This should ease my recent usage of Cursor/VSCode alongside Emacs, as
certain keybindings I have in Emacs cannot be setup in VSCode to work in
all contexts. Hence I've had to get used to cmd+shift+p instead of C-x
C-m, as the later does not want to play ball when a terminal is active
in VSCode.
2025-06-28 17:14:37 +01:00

29 lines
472 B
EmacsLisp

;;; siren-amx.el --- jimeh's Emacs Siren: amx configuration.
;;; Commentary:
;; Replace M-x with the more powerful amx.
;;; Code:
(require 'siren-ido)
(use-package amx
:general
("M-x" 'amx)
("C-x C-m" 'amx)
("s-P" 'amx)
:custom
(amx-backend 'ido)
(amx-histroy-lenth 15)
(amx-prompt-string "M-x ")
(amx-save-file (siren-cache-dir "amx-items"))
(amx-show-key-bindings t)
:config
(amx-mode +1))
(provide 'siren-amx)
;;; siren-amx.el ends here