mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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.
29 lines
472 B
EmacsLisp
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
|