aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el32
1 files changed, 4 insertions, 28 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 4c4f865..e070fc2 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -12,38 +12,14 @@
(defconst *is-a-mac* (eq system-type 'darwin))
-(when (version<= "26.0.50" emacs-version)
- (global-display-line-numbers-mode))
-(setq vc-follow-symlinks t)
-(setq backup-directory-alist
- `(("." . ,(concat user-emacs-directory "backups"))))
-(setq-default fill-column 72)
-(menu-bar-mode -1)
-(xterm-mouse-mode 1) ;; Enable mouse
-
(require 'init-package)
-
-(use-package atom-one-dark-theme
- :config
- (load-theme 'atom-one-dark t))
-(set-face-attribute 'default nil :font "Monaco" :height 150)
-
-(use-package which-key
- :ensure t
- :config
- (which-key-mode))
-
-(use-package undo-tree
- :config
- (global-undo-tree-mode))
-
(require 'init-evil)
(require 'init-org)
(require 'init-mu4e)
(require 'init-lang)
+(require 'init-misc)
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
-(when (file-exists-p custom-file)
- (load custom-file))
-
-(require 'init-local nil t)
+(unless (file-exists-p custom-file)
+ (write-region "" nil custom-file))
+(load custom-file)