aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/emacs.el17
1 files changed, 10 insertions, 7 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index 4ae31026..54be0891 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)