about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-prelude.el
blob: d52b2ec91ef84bacc4fda5e441ec72dd2768f63e (plain) (blame)
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
;; config for misc packages included with prelude

(use-package flycheck
  :config
  (global-flycheck-mode))

(use-package which-key
  :diminish)

(use-package whitespace
  :diminish)

(use-package smartparens
  :diminish)

(use-package subword
  :diminish)

(use-package ace-window
  :diminish
  :custom-face
  (aw-leading-char-face
    ((t (:foreground "white" :background "red"
         :weight bold :height 2.5 :box (:line-width 10 :color "red"))))))

(use-package crux
  ;; allow other things to use C-c s
  :init (unbind-key "C-c s" prelude-mode-map)
  :bind (:map prelude-mode-map ("C-c S" . crux-swap-windows)))

(use-package key-chord
  :init
  (key-chord-unset-global "jl")
  (key-chord-define-global "LL" 'avy-goto-line)
  (key-chord-define-global ",," 'avy-goto-char-in-line))

(diminish 'prelude-mode)

(provide 'init-prelude)