Skip to content

Instantly share code, notes, and snippets.

@kermorgant
Last active June 22, 2019 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kermorgant/95fde6055aad83b89ed81e33d373127c to your computer and use it in GitHub Desktop.
Save kermorgant/95fde6055aad83b89ed81e33d373127c to your computer and use it in GitHub Desktop.
with-eval-after-load issue
(with-eval-after-load "transient"
(progn
(defvar mk-projectile)
(define-transient-command mk-projectile ()
"Projectile"
[["Find"
("f" "File" projectile-find-file)
("F" "File Other Window" projectile-find-file-other-window)
("u" "Test File" projectile-find-test-file)]
["Search"
("a" "AG" projectile-ag)
("r" "AG" rg-project)
("A" "Grep" projectile-grep)]]
[["Manage"
("p" "Switch Project" projectile-persp-switch-project)
("I" "Project Info" projectile-project-info)
("K" "Kill Project Buffers" projectile-kill-buffers)
("k" "Cache..." matcha-projectile-cache)]])
))
(use-package transient
:defer t ;; problecmatic instruction : works without, not with
:config
(transient-bind-q-to-quit))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment