mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
I've set `lexical-binding` to `nil` in all Emacs Lisp files to suppress the warnings introduced in Emacs 31 requiring all elisp files to have a `lexical-binding` comment. This retains the default behavior of dynamic binding when no `lexical-binding` comment is present. With it set to `t` across the board, various things break, and fixing those is a task for another day.
29 lines
503 B
EmacsLisp
29 lines
503 B
EmacsLisp
;;; siren-amx.el --- jimeh's Emacs Siren: amx configuration. -*- lexical-binding: nil; -*-
|
|
|
|
;;; 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
|