-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
70 lines (58 loc) · 1.7 KB
/
init.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
;;; init.el --- summary -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(if (version< emacs-version "27")
(package-initialize))
(require 'package)
(setq package-archives
'(
("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")
;;("melpa-stable" . "http://stable.melpa.org/packages/")
("org" . "http://orgmode.org/elpa/")))
;; Use 'use-package' to manage packages
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(use-package use-package
:config
(setq use-package-always-ensure t
use-package-always-demand t))
(use-package auto-package-update
:config
(setq auto-package-update-delete-old-versions t)
(setq auto-package-update-hide-results t)
(auto-package-update-now))
;; Personal information
(setq personal-file (expand-file-name "personal.el" user-emacs-directory))
(when (file-exists-p personal-file)
(load-file personal-file))
(add-to-list 'load-path
(expand-file-name "lisp" user-emacs-directory))
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(when (file-exists-p custom-file)
(load-file custom-file))
(require 'cool-core)
(require 'cool-dashboard)
(require 'cool-ui)
(require 'cool-modeline)
;;(require 'cool-selectrum)
(require 'cool-ivy)
(require 'cool-winum)
(require 'cool-treemacs)
(require 'cool-global-keybindings)
(require 'cool-projectile)
(require 'cool-magit)
(require 'cool-evil)
(require 'cool-complete)
(require 'cool-flycheck)
(require 'cool-lsp)
(require 'cool-vterm)
;;
(require 'cool-telega)
;; Language.
(require 'cool-markdown)
(require 'cool-lua)
(require 'cool-go)
;;(require 'cool-lisp)
;;; init.el ends here