Skip to content

Commit

Permalink
tweak(autoinsert): disable auto-insert-mode, bind to SPC f i
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 11, 2023
1 parent 50b8448 commit a07f438
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/me-builtin.el
Original file line number Diff line number Diff line change
Expand Up @@ -521,11 +521,12 @@ or file path may exist now."
:mode "\\.cmake\\'")

(use-package autoinsert
;; NOTE: When prompting (like in Keywords), hit M-RET when finished
:straight (:type built-in)
:hook (minemacs-first-file . auto-insert-mode)
:custom
(auto-insert-directory (+directory-ensure minemacs-local-dir "auto-insert/")))
(auto-insert-directory (+directory-ensure minemacs-local-dir "auto-insert/"))
:init
;; NOTE: When prompting (like in Keywords), hit M-RET when finished
(+map! "fi" #'auto-insert))

(use-package hideif
:straight (:type built-in)
Expand Down

0 comments on commit a07f438

Please sign in to comment.