blob: 436f90b7ad843c51f09d6487da2ae956f18e3222 (
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
41
42
43
|
;; 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
:init
(unbind-key "C-c s" prelude-mode-map)
(unbind-key "C-c r" prelude-mode-map)
(unbind-key "C-c o" prelude-mode-map)
:bind (:map prelude-mode-map
(("C-c C-s" . crux-swap-windows)
("C-c C-r" . crux-rename-file-and-buffer))))
(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)
|