diff options
author | gxlin <[email protected]> | 2021-07-15 08:51:09 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-07-15 08:51:09 +0800 |
commit | b731482680df4fcd19cb3627180bbe4ea2372820 (patch) | |
tree | 87d0a193c54030b690907ea7076c674a702d2371 /.emacs.d/init.el | |
parent | 43b356933766807cff3cce9dda6955469f4df49c (diff) | |
download | dotfiles-b731482680df4fcd19cb3627180bbe4ea2372820.tar.gz dotfiles-b731482680df4fcd19cb3627180bbe4ea2372820.tar.bz2 dotfiles-b731482680df4fcd19cb3627180bbe4ea2372820.zip |
More config
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 32 |
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) |