From 0b2ec5a6ac9cc6fd695da576aecbebfa2c85404a Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 15 Dec 2022 20:06:38 +0100 Subject: [PATCH] Reorder --- emacs/emacs.el | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/emacs/emacs.el b/emacs/emacs.el index 4ae3102..54be089 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -21,19 +21,22 @@ (load bootstrap-file nil 'nomessage)) (straight-use-package 'helm) -(straight-use-package 'projectile) -(straight-use-package 'adoc-mode) -(straight-use-package - '(flymake-vale :type git :host github :repo "tpeacock19/flymake-vale")) - -(projectile-mode +1) -(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) (global-set-key (kbd "M-x") #'helm-M-x) (global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks) (global-set-key (kbd "C-x C-f") #'helm-find-files) ;; (helm-mode 1) Disabled for now, this interferes with C-x b/C-x C-b +(straight-use-package 'projectile) + +(projectile-mode +1) +(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) + +(straight-use-package 'adoc-mode) + +(straight-use-package + '(flymake-vale :type git :host github :repo "tpeacock19/flymake-vale")) + (add-hook 'adoc-mode-hook #'flymake-vale-load) (add-hook 'find-file-hook 'flymake-vale-maybe-load) (add-hook 'adoc-mode-hook 'flymake-mode) -- 2.47.3