-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.el
83 lines (59 loc) · 1.73 KB
/
config.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
;;; config --- unsorted configuration -*- lexical-binding: t; no-byte-compile: t -*-
;;; Commentary:
;;;
;;; This is where all the miscellaneous crap that hasn't been hoisted to
;;; README.org lives
;;; Code:
(use-package xref)
(require 'rx)
(use-package ace-window)
;;; Movement/jumping
(defvar pdc-jump-map (make-sparse-keymap))
(use-package avy
:bind
(("M-m j j" . avy-goto-char-timer)
("M-m j b" . avy-goto-char)
("M-m j '" . avy-goto-char-2)
("M-m j w" . avy-goto-word-1)))
(use-feature outline)
(use-feature ediff
:after outline
:custom
(ediff-window-setup-function 'ediff-setup-windows-plain)
:hook
(ediff-prepare-buffer . show-all)
(ediff-quit . winner-undo))
;; (use-package flycheck
;; :commands global-flycheck-mode
;; :diminish " ⓢ"
;; :hook
;; (after-init . global-flycheck-mode))
;;; Setup common lisp mode stuff
(use-package calendar
:custom
(calendar-date-style 'iso))
(use-package editorconfig
:diminish
:hook
(after-init . editorconfig-mode))
(use-package pdf-tools :if (display-graphic-p))
(use-feature notifications)
(use-package envrc
:diminish
:hook (after-init . envrc-global-mode)
:config
(keymap-global-set "M-m d E" '("envrc" . envrc-command-map)))
(use-package json-ts-mode
:mode ("\\.noisette\\'" "\\.json\\'"))
(use-package project :after envrc
:bind (:map project-prefix-map
("C" . 'recompile)
("s" . 'consult-ripgrep))
:config (dolist (func '(project-find-file project-find-dir project-eshell))
(advice-add func :after #'envrc-allow)))
(use-package geiser-guile)
(use-package suggest
:commands (suggest))
;; (setq font-lock-mode-hook (cdr font-lock-mode-hook))
(provide 'config)
;;; config.el ends here