forked from emacscollective/emacs.g
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalexk.el
92 lines (77 loc) · 2.32 KB
/
alexk.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
84
85
86
87
88
89
90
91
92
(defface hl-todo-TODO-face
'((t (:underline t :foreground "Dark Red" :inherit (hl-todo))))
"Face for highlighting TODO keyword."
:group 'hl-todo)
(defface hl-todo-FIXME-face
'((t (:underline t :foreground "Dark Magenta" :inherit (hl-todo))))
"Face for highlighting FIXME keyword."
:group 'hl-todo)
(defface hl-todo-DEBUG-face
'((t (:underline t :foreground "Dark Cyan" :inherit (hl-todo))))
"Face for highlighting DEBUG keyword."
:group 'hl-todo)
(defface hl-todo-MAKE-face
'((t (:underline t :foreground "Dark Orange" :inherit (hl-todo))))
"Face for highlighting MAKE keyword."
:group 'hl-todo)
(defface hl-todo-NOTE-face
'((t (:underline t :foreground "Dark Khaki" :inherit (hl-todo))))
"Face for highlighting NOTE keyword"
:group 'hl-todo)
(defface hl-todo-DONE-face
'((t (:underline t :foreground "Dark Green" :inherit (hl-todo))))
"Face for highlighting DONE keyword."
:group 'hl-todo)
(use-package hl-todo
:init (hl-todo-mode)
:config
(setq hl-todo-keyword-faces
'(("TODO" . hl-todo-TODO-face)
("FIXME" . hl-todo-FIXME-face)
("DEBUG" . hl-todo-DEBUG-face)
("MAKE" . hl-todo-MAKE-face)
("NOTE" . hl-todo-NOTE-face)
("DONE" . hl-todo-DONE-face)))
:bind
(("C-c p" . hl-todo-previous)
("C-c n" . hl-todo-next)
("C-c o" . hl-todo-occur)
("C-c i" . hl-todo-insert)))
(use-package solarized-theme
:init (load-theme 'solarized-light t))
(use-package keychain-environment
:init (keychain-refresh-environment))
(use-package reverse-im
:custom
(reverse-im-input-methods '("russian-computer" "belarusian"))
:config
(reverse-im-mode t))
(use-package helpful
:bind
(("C-h f" . #'helpful-callable)
("C-h v" . #'helpful-variable)
("C-h k" . #'helpful-key)
("C-h F" . #'helpful-function)
("C-h C" . #'helpful-command)
("C-c C-d" . #'helpful-at-point)))
(use-package which-key
:config (which-key-mode))
(use-package minions
:config (minions-mode))
(use-package init-javascript
:load-path "init.d/")
;; Backup
(setq backup-directory-alist `(("." . "~/.emacs-saves"))
backup-by-copying t)
(use-package elcord
:custom
((elcord-display-buffer-details nil)
(elcord-display-elapsed))
:config
(elcord-mode))
(use-package livedown
:custom
(livedown-autostart nil)
(livedown-open t)
(livedown-port 1337)
(livedown-browser nil))