summaryrefslogtreecommitdiff
path: root/nemacs.el
blob: 12365da627f41307bf2fd6c8bf5241be47fa9421 (plain)
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
(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives
  '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

(add-to-list 'load-path "~/nemacs/")
(require 'nemacs-boilerplate)
(require 'nemacs-user)
(require 'nemacs-util)
(require 'nemacs-packages)
(require 'nemacs-functions)
(require 'nemacs-keys)
(require 'nemacs-hooks)

(setq inhibit-startup-screen t)
(toggle-frame-maximized)
;;(require 'nemacs-splash)

(put 'narrow-to-region 'disabled nil)
(put 'downcase-region 'disabled nil)
(require 'nemacs-personal)

(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(org-level-1 ((t (:inherit outline-1 :extend nil :weight extra-bold :height 1.4))))
 '(org-level-2 ((t (:inherit outline-2 :extend nil :slant italic :weight bold :height 1.2))))
 '(org-level-3 ((t (:inherit outline-3 :extend nil :weight semi-bold)))))